You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,11 +221,11 @@ zeplin-cli user profile
221
221
zeplin-cli auth init
222
222
```
223
223
224
-
This prompts for your token, optionally a default organization ID, and saves credentials to `~/.zeplin/config.json` with restricted permissions (600). It also verifies the token works.
224
+
This prompts for your token, optionally a default organization ID, and saves credentials to `~/.config/zeplin-cli/config.json` with restricted permissions (600). It also verifies the token works.
225
225
226
226
### Manual Config File
227
227
228
-
Create `~/.zeplin/config.json`:
228
+
Create `~/.config/zeplin-cli/config.json`:
229
229
230
230
```json
231
231
{
@@ -252,14 +252,24 @@ zeplin-cli projects list
252
252
zeplin-cli projects list --token "your-personal-access-token"
253
253
```
254
254
255
+
### Configuration Paths
256
+
257
+
zeplin-cli follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/):
Run `zeplin-cli auth init` to set up credentials interactively. In interactive mode (`zeplin-cli` with no arguments), you'll be prompted to set up credentials automatically.
590
600
591
-
You can also check that your config file exists at `~/.zeplin/config.json`.
601
+
You can also check that your config file exists at `~/.config/zeplin-cli/config.json`.
0 commit comments