apitweet-cli 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/help.js +1 -1
- package/src/request.js +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apitweet-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Command-line client for apitweet APIs with saved app auth and profiles",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://apitweet.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/aliraza948/apitweet.git"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://apitweet.com"
|
package/src/help.js
CHANGED
|
@@ -80,7 +80,7 @@ Notes:
|
|
|
80
80
|
Global options should be placed before the command.
|
|
81
81
|
Saved apps store API keys and base URLs.
|
|
82
82
|
Saved profiles store cookies or auth_token values for write actions.
|
|
83
|
-
Get API keys from https://apitweet.
|
|
83
|
+
Get API keys from https://apitweet.com/dashboard.
|
|
84
84
|
Copy the API key from the dashboard and save it with auth apps add.
|
|
85
85
|
`);
|
|
86
86
|
}
|
package/src/request.js
CHANGED
|
@@ -6,7 +6,7 @@ export async function performRequest(state, config, request) {
|
|
|
6
6
|
if (!appState.apiKey && !state.dryRun) {
|
|
7
7
|
const guidance = [
|
|
8
8
|
"Use --api-key, set APITWEET_KEY, or configure an app with auth apps add.",
|
|
9
|
-
"Get an API key here: https://apitweet.
|
|
9
|
+
"Get an API key here: https://apitweet.com/dashboard",
|
|
10
10
|
'Example: apitweet auth apps add --name prod --api-key "twitterx_..."',
|
|
11
11
|
].join("\n");
|
|
12
12
|
exitWithError("Missing API key.", guidance);
|