-g
flag or can be installed as a development dependency using the -D
flag; we strongly recommend the latter.ditto-cli
ditto-cli
command and choosing the projects you'd like to sync from.DITTO_API_KEY
.~/.config/ditto
If you ever want to change out the API key you're currently using, you can delete this file and then re-run the CLI to regenerate it.ditto
(./ditto
relative to the current working directory) is consulted as the source of truth for how that command should execute.ditto
folder doesn't exist, one will be automatically created for you.ditto
folder lives a file called config.yml
, which is where all CLI configuration options should be specified; these include which projects should be synced with the current directory, what format data should be stored in, and whether or not variant data should be included. config.yml
file, like adding (ditto-cli project add
) or removing (ditto-cli project remove
) projects.ditto-cli pull
- this command will read the list of projects from ditto/config.yml
and use the Ditto API to fetch and store data about those projects in the ditto
folder to be consumed in your application.