Livingdocs Command Line Utility
npm install livingdocs-cli



Livingdocs Command Line Interface
``bash`
npm install -g livingdocs-cli
livingdocs-cli --help
](#livingdocs-cli-help-command)
* livingdocs-cli project-config:download
* livingdocs-cli project-config:import-design
* livingdocs-cli project-config:plan
* livingdocs-cli project-config:publish
* livingdocs-cli project-config:publish-design
* livingdocs-cli project-config:upload-assetslivingdocs-cli component-library:buildBuild a Component Library JSON file
`
USAGE
$ livingdocs-cli component-library:buildOPTIONS
-d, --dist=dist The folder where the output will be written.
-s, --src=src The folder with your .html component templates
`_See code: src/commands/component-library/build.js_
livingdocs-cli config:printPrint current CLI configuration
`
USAGE
$ livingdocs-cli config:printOPTIONS
-e, --env=env If used configuration options are loaded from .livingdocs-cli file.
-p, --project=project If used configuration options are loaded from .livingdocs-cli file.
`_See code: src/commands/config/print.js_
livingdocs-cli design-server:startStart a design server for development
`
USAGE
$ livingdocs-cli design-server:startOPTIONS
-a, --address=address The address of the design-server.
-d, --dist=dist (required) The folder to load designs from.
-p, --port=port [default: 9030] The port of the design-server.
--assets=assets Asset folder to serve static files.
--basePath=basePath The basePath to set in
assets.basePath.
--verbose
`_See code: src/commands/design-server/start.js_
livingdocs-cli help [COMMAND]display help for livingdocs-cli
`
USAGE
$ livingdocs-cli help [COMMAND]ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
`_See code: @oclif/plugin-help_
livingdocs-cli project-config:downloadDownload a project configuration
`
USAGE
$ livingdocs-cli project-config:downloadOPTIONS
-d, --dist=dist The folder where the output will be written.
-e, --env=env If used configuration options are loaded from .livingdocs-cli file.
-h, --host=host (required) [default: http://localhost:9090] The livingdocs host.
Can be set by the environment variable 'LI_HOST'.
-p, --project=project If used configuration options are loaded from .livingdocs-cli file.
-t, --token=token (required) Access Token for your project (needs
public-api:config:read permission).
Can be set by the environment variable 'LI_TOKEN'. --format=js|js/html|json The format of the files written.
`_See code: src/commands/project-config/download.js_
livingdocs-cli project-config:import-designImport a design into a given project configuration
`
USAGE
$ livingdocs-cli project-config:import-designOPTIONS
-d, --dist=dist (required) The folder where the output will be written.
-e, --env=env If used configuration options are loaded from .livingdocs-cli file.
-p, --project=project If used configuration options are loaded from .livingdocs-cli file.
-u, --designUri=designUri (required) URL of the design to import
`_See code: src/commands/project-config/import-design.js_
livingdocs-cli project-config:planSee what would be updated in a publish command
`
USAGE
$ livingdocs-cli project-config:planOPTIONS
-d, --dist=dist The folder where the output will be written.
-e, --env=env If used configuration options are loaded from .livingdocs-cli file.
-h, --host=host (required) [default: http://localhost:9090] The livingdocs host.
Can be set by the environment variable 'LI_HOST'.
-p, --project=project If used configuration options are loaded from .livingdocs-cli file.
-s, --source=source The folder or filename to the project config.
-t, --token=token (required) Access Token for your project (needs
public-api:config:write permission).
Can be set by the environment variable 'LI_TOKEN'.
`_See code: src/commands/project-config/plan.js_
livingdocs-cli project-config:publishPublish a project configuration to your project
`
USAGE
$ livingdocs-cli project-config:publishOPTIONS
-d, --dist=dist The folder where the output will be written.
-e, --env=env If used configuration options are loaded from .livingdocs-cli file.
-h, --host=host (required) [default: http://localhost:9090] The livingdocs host.
Can be set by the environment variable 'LI_HOST'.
-p, --project=project If used configuration options are loaded from .livingdocs-cli file.
-s, --source=source The folder or filename to the project config.
-t, --token=token (required) Access Token for your project (needs
public-api:config:write permission).
Can be set by the environment variable 'LI_TOKEN'. -y, --yes Confirm
`_See code: src/commands/project-config/publish.js_
livingdocs-cli project-config:publish-designPublish Design to DesignServer
`
USAGE
$ livingdocs-cli project-config:publish-designOPTIONS
-d, --dist=dist (required) The folder to the design.
-f, --forceUpdate The design name of the assets to upload
-h, --host=host (required) [default: http://localhost:9090] The livingdocs host.
Can be set by the environment variable 'LI_HOST'.
-p, --password=password password for login
-u, --username=username username for login
`_See code: src/commands/project-config/publish-design.js_
livingdocs-cli project-config:upload-assetsUpload assets to your design
`
USAGE
$ livingdocs-cli project-config:upload-assetsOPTIONS
-a, --assets=assets The folder where you asset files are located.
-d, --designName=designName The design name of the assets to upload
-d, --designVersion=designVersion The design version of the assets to upload
-h, --host=host [default: http://localhost:9090] The livingdocs host.
Can be set by the environment variable 'LI_HOST'.
-t, --token=token (required) Access Token for your project (needs
public-api:config:write
permission).
Can be set by the environment variable 'LI_TOKEN'.
``_See code: src/commands/project-config/upload-assets.js_