Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including livingdocs-cli with all npm packages installed. Try it out:

var livingdocsCli = require("livingdocs-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

livingdocs-cli v1.3.1

Livingdocs Command Line Utility

livingdocs-cli

Livingdocs Command Line Interface

oclif Version Codecov Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g livingdocs-cli $ livingdocs-cli COMMAND running command... $ livingdocs-cli (-v|--version|version) livingdocs-cli/0.0.0 darwin-x64 node-v12.10.0 $ livingdocs-cli --help [COMMAND] USAGE $ livingdocs-cli COMMAND ... ``` # Commands * [`livingdocs-cli cli-config:print`](#livingdocs-cli-cli-configprint) * [`livingdocs-cli component-library:build`](#livingdocs-cli-component-librarybuild) * [`livingdocs-cli design-server:start`](#livingdocs-cli-design-serverstart) * [`livingdocs-cli help [COMMAND]`](#livingdocs-cli-help-command) * [`livingdocs-cli project-config:download`](#livingdocs-cli-project-configdownload) * [`livingdocs-cli project-config:drafts`](#livingdocs-cli-project-configdrafts) * [`livingdocs-cli project-config:plan`](#livingdocs-cli-project-configplan) * [`livingdocs-cli project-config:publish`](#livingdocs-cli-project-configpublish) * [`livingdocs-cli project-config:upload`](#livingdocs-cli-project-configupload) * [`livingdocs-cli project-config:upload_assets`](#livingdocs-cli-project-configupload_assets)

livingdocs-cli cli-config:print

Print current CLI configuration

USAGE
  $ livingdocs-cli cli-config:print

See code: src/commands/cli-config/print.js

livingdocs-cli component-library:build

Build a Component Library JSON file

USAGE
  $ livingdocs-cli component-library:build

OPTIONS
  -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 design-server:start

Start a design server for development

USAGE
  $ livingdocs-cli design-server:start

OPTIONS
  -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.
  --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:download

Download a project configuration

USAGE
  $ livingdocs-cli project-config:download

OPTIONS
  -d, --dist=dist           The folder where the output will be written.

  -h, --host=host           [default: http://localhost:9090] The livingdocs host.
                            Can be set by the environment variable 'LI_HOST'.

  -t, --token=token         (required) The Access Token to your project (needs write 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:drafts

List project configuration drafts

USAGE
  $ livingdocs-cli project-config:drafts

OPTIONS
  -h, --host=host    [default: http://localhost:9090] The livingdocs host.
                     Can be set by the environment variable 'LI_HOST'.

  -t, --token=token  (required) The Access Token to your project (needs write permission).
                     Can be set by the environment variable 'LI_TOKEN'.

See code: src/commands/project-config/drafts.js

livingdocs-cli project-config:plan

See what would be updated in a publish command

USAGE
  $ livingdocs-cli project-config:plan

OPTIONS
  -d, --dist=dist    The folder or filename where to download to.

  -h, --host=host    [default: http://localhost:9090] The livingdocs host.
                     Can be set by the environment variable 'LI_HOST'.

  -t, --token=token  (required) The Access Token to your project (needs write permission).
                     Can be set by the environment variable 'LI_TOKEN'.

See code: src/commands/project-config/plan.js

livingdocs-cli project-config:publish

Publish a ChannelConfig to your project

USAGE
  $ livingdocs-cli project-config:publish

OPTIONS
  -d, --dist=dist    The folder to publish from.

  -h, --host=host    [default: http://localhost:9090] The livingdocs host.
                     Can be set by the environment variable 'LI_HOST'.

  -t, --token=token  (required) The Access Token to your project (needs write permission).
                     Can be set by the environment variable 'LI_TOKEN'.

See code: src/commands/project-config/publish.js

livingdocs-cli project-config:upload

Upload a ChannelConfig into a draft for your project

USAGE
  $ livingdocs-cli project-config:upload

OPTIONS
  -d, --dist=dist        The folder or filename where to download to.

  -h, --host=host        [default: http://localhost:9090] The livingdocs host.
                         Can be set by the environment variable 'LI_HOST'.

  -t, --token=token      (required) The Access Token to your project (needs write permission).
                         Can be set by the environment variable 'LI_TOKEN'.

  --draftName=draftName  (required) The name of the draft the config will be saved under.

See code: src/commands/project-config/upload.js

livingdocs-cli project-config:upload_assets

Upload assets to your project

USAGE
  $ livingdocs-cli project-config:upload_assets

OPTIONS
  -a, --assets=assets  The folder where you asset files are located.

  -h, --host=host      [default: http://localhost:9090] The livingdocs host.
                       Can be set by the environment variable 'LI_HOST'.

  -t, --token=token    (required) The Access Token to your project (needs write permission).
                       Can be set by the environment variable 'LI_TOKEN'.

See code: src/commands/project-config/upload_assets.js

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free