5.4.9 • Published 25 days ago

livingdocs-cli v5.4.9

Weekly downloads
99
License
MIT
Repository
github
Last release
25 days ago

oclif Version Downloads/week License

livingdocs-cli

Livingdocs Command Line Interface

Setup

npm install -g livingdocs-cli
livingdocs-cli --help

Documentation

Livingdocs CLI documentation

Commands Reference

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 config:print

Print current CLI configuration

USAGE
  $ livingdocs-cli config:print

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

Start a design server for development

USAGE
  $ livingdocs-cli design-server:start

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

Download a project configuration

USAGE
  $ livingdocs-cli project-config:download

OPTIONS
  -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-design

Import a design into a given project configuration

USAGE
  $ livingdocs-cli project-config:import-design

OPTIONS
  -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:plan

See what would be updated in a publish command

USAGE
  $ livingdocs-cli project-config:plan

OPTIONS
  -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:publish

Publish a project configuration to your project

USAGE
  $ livingdocs-cli project-config:publish

OPTIONS
  -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-design

Publish Design to DesignServer

USAGE
  $ livingdocs-cli project-config:publish-design

OPTIONS
  -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-assets

Upload assets to your design

USAGE
  $ livingdocs-cli project-config:upload-assets

OPTIONS
  -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

5.4.9

25 days ago

5.4.8

28 days ago

5.4.7

30 days ago

5.4.6

1 month ago

5.4.5

1 month ago

5.4.4

1 month ago

5.4.3

1 month ago

5.4.2

2 months ago

5.4.1

2 months ago

5.4.0

2 months ago

5.3.11

2 months ago

5.3.10

2 months ago

5.3.9

2 months ago

5.3.8

2 months ago

5.3.7

3 months ago

5.3.6

3 months ago

5.3.5

3 months ago

5.3.4

3 months ago

5.3.3

3 months ago

5.3.2

3 months ago

5.3.1

3 months ago

5.3.0

3 months ago

5.2.3

3 months ago

5.2.2

3 months ago

5.1.31

3 months ago

5.2.1

3 months ago

5.2.0

3 months ago

5.1.30

3 months ago

5.1.29

3 months ago

5.1.28

4 months ago

5.1.27

4 months ago

5.1.26

4 months ago

5.1.25

4 months ago

5.1.24

4 months ago

5.1.23

4 months ago

5.1.22

4 months ago

5.1.21

5 months ago

5.1.20

5 months ago

5.1.19

5 months ago

5.1.18

5 months ago

5.1.17

5 months ago

5.1.16

5 months ago

5.1.15

5 months ago

5.1.14

5 months ago

5.1.13

5 months ago

5.1.12

5 months ago

5.1.10

5 months ago

5.1.9

5 months ago

5.1.8

5 months ago

5.1.7

5 months ago

5.1.6

5 months ago

5.1.5

5 months ago

5.0.6

5 months ago

5.1.4

5 months ago

5.0.5

5 months ago

5.1.3

5 months ago

5.1.2

5 months ago

5.1.1

5 months ago

5.1.0

5 months ago

3.0.2

6 months ago

3.0.1

7 months ago

2.5.6

7 months ago

2.5.8

7 months ago

2.5.7

7 months ago

3.0.0

7 months ago

2.5.4

8 months ago

2.5.5

8 months ago

2.5.0

10 months ago

2.5.2

9 months ago

2.5.1

9 months ago

2.5.3

9 months ago

2.4.1

2 years ago

2.3.0

2 years ago

2.1.2

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

1.3.2

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago