@dittowords/cli 2.3.0 → 2.4.0
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/README.md +3 -3
- package/lib/init/token.js +1 -1
- package/lib/utils/projectsToText.js +1 -1
- package/lib/utils/promptForProject.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npm install --global @dittowords/cli
|
|
|
16
16
|
|
|
17
17
|
The installed binary is named `ditto-cli`. You can execute it directly in `node_modules/.bin/ditto-cli` or using [npx](https://www.npmjs.com/package/npx) (with or without installation) like `npx @dittowords/cli`.
|
|
18
18
|
|
|
19
|
-
The first time you run the CLI, you'll be asked to provide an API key (found at [https://
|
|
19
|
+
The first time you run the CLI, you'll be asked to provide an API key (found at [https://app.dittowords.com/account/user](https://app.dittowords.com/account/user) under **API Keys**):
|
|
20
20
|
|
|
21
21
|
```
|
|
22
22
|
$ npx @dittowords/cli
|
|
@@ -41,8 +41,8 @@ Once you've successfully authenticated, you'll be asked to configure the CLI wit
|
|
|
41
41
|
Looks like there are no Ditto projects selected for your current directory.
|
|
42
42
|
|
|
43
43
|
? Choose the project you'd like to sync text from:
|
|
44
|
-
- Ditto Component Library https://
|
|
45
|
-
- NUX Onboarding Flow https://
|
|
44
|
+
- Ditto Component Library https://app.dittowords.com/components/all
|
|
45
|
+
- NUX Onboarding Flow https://app.dittowords.com/doc/609e9981c313f8018d0c346a
|
|
46
46
|
...
|
|
47
47
|
```
|
|
48
48
|
|
package/lib/init/token.js
CHANGED
|
@@ -58,7 +58,7 @@ async function checkToken(token) {
|
|
|
58
58
|
|
|
59
59
|
async function collectToken(message) {
|
|
60
60
|
const blue = output.info;
|
|
61
|
-
const apiUrl = output.url("https://
|
|
61
|
+
const apiUrl = output.url("https://app.dittowords.com/account/user");
|
|
62
62
|
const breadcrumbs = `${blue("User")}`;
|
|
63
63
|
const tokenDescription =
|
|
64
64
|
message ||
|