ddm-cli v2.0.13
______ ______ ___ ___ _____ _ _____
| _ \| _ \| \/ | / __ \| | |_ _|
| | | || | | || . . | ______ | / \/| | | |
| | | || | | || |\/| | |______| | | | | | |
| |/ / | |/ / | | | | | \__/\| |____ _| |_
|___/ |___/ \_| |_/ \____/\_____/ \___/
Development stack for creating DDM visuals
Installation
npm install -g ddm-cli
or
yarn global add ddm-cli
Getting started
- Create proper directory structure
$ ddm install
- Login to your accounts
$ ddm login
- Sync visuals
$ ddm sync
List commands
$ ddm help
Usage
$ npm install -g ddm-cli
$ ddm COMMAND
running command...
$ ddm (--version)
ddm-cli/2.0.13 darwin-x64 node-v14.17.3
$ ddm --help [COMMAND]
USAGE
$ ddm COMMAND
...
ddm autocomplete [SHELL]
ddm clone REPONAME
ddm convert-pdf
ddm create
ddm dev
ddm fetch
ddm help [COMMAND]
ddm install
ddm login
ddm pull
ddm push
ddm status
ddm sync
ddm update [CHANNEL]
ddm validate
ddm autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ ddm autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ ddm autocomplete
$ ddm autocomplete bash
$ ddm autocomplete zsh
$ ddm autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
ddm clone REPONAME
Clone existing visual
USAGE
$ ddm clone [REPONAME] [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Clone existing visual
See code: dist/commands/clone.ts
ddm convert-pdf
Convert pdf to jpg
USAGE
$ ddm convert-pdf [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Convert pdf to jpg
See code: dist/commands/convert-pdf.ts
ddm create
Creates new visual
USAGE
$ ddm create [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Creates new visual
See code: dist/commands/create.ts
ddm dev
Run development server to create visuals
USAGE
$ ddm dev [-d] [-l] [-n] [-a]
FLAGS
-a, --latest Start dev with latest edited visual
-d, --debug Debug mode
-l, --local Against local apis
-n, --newest Start dev with newly created visual
DESCRIPTION
Run development server to create visuals
See code: dist/commands/dev.ts
ddm fetch
Fetch all local visuals
USAGE
$ ddm fetch [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Fetch all local visuals
See code: dist/commands/fetch.ts
ddm help [COMMAND]
Display help for ddm.
USAGE
$ ddm help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for ddm.
See code: @oclif/plugin-help
ddm install
Set home directory for visuals and prepare dev environment
USAGE
$ ddm install
DESCRIPTION
Set home directory for visuals and prepare dev environment
See code: dist/commands/install.ts
ddm login
Authorize CLI against web application
USAGE
$ ddm login [-d] [-l]
FLAGS
-d, --debug Debug mode
-l, --local Local
DESCRIPTION
Authorize CLI against web application
See code: dist/commands/login.ts
ddm pull
Pull all local visuals
USAGE
$ ddm pull [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Pull all local visuals
See code: dist/commands/pull.ts
ddm push
Push all local visuals
USAGE
$ ddm push [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Push all local visuals
See code: dist/commands/push.ts
ddm status
Git status of all local visuals
USAGE
$ ddm status [-d]
FLAGS
-d, --debug Debug mode
DESCRIPTION
Git status of all local visuals
See code: dist/commands/status.ts
ddm sync
Download all synced visuals
USAGE
$ ddm sync [-d] [-s]
FLAGS
-d, --debug Debug mode
-s, --shallow Perform shallow fetch
DESCRIPTION
Download all synced visuals
See code: dist/commands/sync.ts
ddm update [CHANNEL]
update the ddm CLI
USAGE
$ ddm update [CHANNEL] [-a] [-v <value> | -i] [--force]
FLAGS
-a, --available Install a specific version.
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
-v, --version=<value> Install a specific version.
--force Force a re-download of the requested version.
DESCRIPTION
update the ddm CLI
EXAMPLES
Update to the stable channel:
$ ddm update stable
Update to a specific version:
$ ddm update --version 1.0.0
Interactively select version:
$ ddm update --interactive
See available versions:
$ ddm update --available
See code: @oclif/plugin-update
ddm validate
Validate the config and schema of all local visuals
USAGE
$ ddm validate
DESCRIPTION
Validate the config and schema of all local visuals
See code: dist/commands/validate.ts