@c8y/cli
CLI tool for Cumulocity IoT applications
Last updated 3 days ago by c8y .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @c8y/cli 
SYNC missed versions from official npm registry.

Developer command line tools

To support you with bootstrapping, running and deploying applications we have built a Command Line Interface. The tool is the successor of the cumulocity-node-tools. To avoid conflicts, it listens to the new command c8ycli instead of c8y. You can install it via npm:

npm install -g @c8y/cli

Usage

c8ycli [options] [command]

Options

    -u, --url <url>                 The URL of the remote instance
    --version                       Provides version number
    -h, --help                      Provides usage information

Commands

All the commands except of new take an array of glob patterns. These will be solved to folders or entry point manifests.

    new [name] [template]                   Creates a folder to start a new application or extend an existing one
    serve [options] [appPaths...]           Runs local development server
    build [options] [appPaths...]           Builds the specified apps
    deploy [options] [appPaths...]          Deploys apps from the specified paths
    locale-extract [options] [srcPaths...]  Extracts all strings for translation and outputs the .po files to defined folder

The new command

The c8ycli new [name] [template] helps to start an empty application or to extend one of our existing applications (Cockpit, Devicemanagement or Administration). To extend an existing application use as [name] and [template] the name of the existing application like this:

$ c8ycli new cockpit cockpit

Tip: The c8ycli new command has a -a flag which defines which package to use for scaffolding. This way you can also define which version of the app you want to scaffold, e.g.:

  • c8ycli new my-cockpit cockpit -a @c8y/apps@1004.11.0 will scaffold an app with the version 10.4.11.0
  • c8ycli new my-cockpit cockpit -a @c8y/apps@latest will scaffold an app with the latest official release. Same as if used without the -a flag
  • c8ycli new my-cockpit cockpit -a @c8y/apps@next will scaffold an app with the latest beta release.

Application options

Application options can be defined with --app.<option>=<value>. These will be applied to all applications found with [appPaths...].

    --app.name="My Application"
    --app.key=myapp-key
    --app.contextPath=myapplication
    --app.brandingEntry="./branding/mybranding.less"

Webpack options

Webpack options can be defined with --env.<option>=<value>. These will be directly passed to the webpack configuration.

    --env.mode="production"
    --env.hmr

Current Tags

  • 9.15.0                                ...           beta (2 years ago)
  • 1006.0.9                                ...           latest (3 days ago)
  • 1006.8.0                                ...           next (3 days ago)

182 Versions

  • 1005.7.15                                ...           2 days ago
  • 1006.8.0                                ...           3 days ago
  • 1006.0.9                                ...           3 days ago
  • 1006.6.3                                ...           4 days ago
  • 1005.0.21                                ...           8 days ago
  • 1005.7.14                                ...           10 days ago
  • 1006.6.2                                ...           11 days ago
  • 1006.7.0                                ...           17 days ago
  • 1006.6.1                                ...           17 days ago
  • 1006.0.8                                ...           18 days ago
  • 1005.7.13                                ...           18 days ago
  • 1005.0.20                                ...           25 days ago
  • 1005.0.19                                ...           a month ago
  • 1005.7.12                                ...           a month ago
  • 1006.0.7                                ...           a month ago
  • 1006.6.0                                ...           a month ago
  • 1005.7.11                                ...           2 months ago
  • 1006.0.6                                ...           2 months ago
  • 1006.5.0                                ...           2 months ago
  • 1005.0.18                                ...           2 months ago
  • 1005.7.10                                ...           2 months ago
  • 1006.0.5                                ...           2 months ago
  • 1006.4.0                                ...           2 months ago
  • 1006.0.4                                ...           2 months ago
  • 1005.0.17                                ...           2 months ago
  • 1005.7.9                                ...           2 months ago
  • 1006.0.3                                ...           2 months ago
  • 1006.3.0                                ...           2 months ago
  • 1005.0.16                                ...           3 months ago
  • 1005.7.8                                ...           3 months ago
  • 1006.0.2                                ...           3 months ago
  • 1006.2.0                                ...           3 months ago
  • 1005.0.15                                ...           3 months ago
  • 1005.7.7                                ...           3 months ago
  • 1006.0.1                                ...           3 months ago
  • 1006.1.0                                ...           3 months ago
  • 1005.0.14                                ...           4 months ago
  • 1005.7.6                                ...           4 months ago
  • 1006.0.0                                ...           4 months ago
  • 1005.0.13                                ...           4 months ago
  • 1005.7.5                                ...           4 months ago
  • 1005.12.0                                ...           4 months ago
  • 1004.6.23                                ...           5 months ago
  • 1005.0.12                                ...           5 months ago
  • 1005.7.4                                ...           5 months ago
  • 1005.11.0                                ...           5 months ago
  • 1004.6.22                                ...           5 months ago
  • 1005.0.11                                ...           5 months ago
  • 1005.7.3                                ...           5 months ago
  • 1005.10.0                                ...           5 months ago
  • 1004.6.21                                ...           6 months ago
  • 1005.0.10                                ...           6 months ago
  • 1005.7.2                                ...           6 months ago
  • 1005.9.0                                ...           6 months ago
  • 1004.6.20                                ...           6 months ago
  • 1005.0.9                                ...           6 months ago
  • 1005.7.1                                ...           6 months ago
  • 1005.8.0                                ...           6 months ago
  • 1004.6.19                                ...           6 months ago
  • 1005.0.8                                ...           6 months ago
  • 1005.7.0                                ...           7 months ago
  • 1005.6.1                                ...           7 months ago
  • 1004.6.18                                ...           7 months ago
  • 1005.0.7                                ...           7 months ago
  • 1004.6.17                                ...           7 months ago
  • 1005.0.6                                ...           7 months ago
  • 1005.6.0                                ...           7 months ago
  • 1005.5.1                                ...           7 months ago
  • 1004.0.21                                ...           7 months ago
  • 1004.6.16                                ...           7 months ago
  • 1005.0.5                                ...           7 months ago
  • 1005.5.0                                ...           8 months ago
  • 1004.0.20                                ...           8 months ago
  • 1004.6.15                                ...           8 months ago
  • 1005.0.4                                ...           8 months ago
  • 1005.4.0                                ...           8 months ago
  • 1004.0.19                                ...           8 months ago
  • 1004.6.14                                ...           8 months ago
  • 1005.0.3                                ...           8 months ago
  • 1005.3.0                                ...           8 months ago
  • 1005.2.1                                ...           9 months ago
  • 9.20.21                                ...           9 months ago
  • 1004.0.18                                ...           9 months ago
  • 1004.6.13                                ...           9 months ago
  • 1005.0.2                                ...           9 months ago
  • 1005.2.0                                ...           9 months ago
  • 1004.0.17                                ...           9 months ago
  • 1004.6.12                                ...           9 months ago
  • 1005.0.1                                ...           9 months ago
  • 1005.1.0                                ...           9 months ago
  • 9.20.20                                ...           9 months ago
  • 1004.6.11                                ...           10 months ago
  • 1004.0.16                                ...           10 months ago
  • 1004.6.10                                ...           10 months ago
  • 1005.0.0                                ...           10 months ago
  • 1004.12.2                                ...           10 months ago
  • 1004.12.1                                ...           10 months ago
  • 9.20.19                                ...           10 months ago
  • 1004.0.15                                ...           10 months ago
  • 1004.6.9                                ...           10 months ago
  • 1004.12.0                                ...           10 months ago
  • 1004.11.1                                ...           a year ago
  • 1004.6.8                                ...           a year ago
  • 1004.0.14                                ...           a year ago
  • 9.20.18                                ...           a year ago
  • 1004.11.0                                ...           a year ago
  • 1004.0.13                                ...           a year ago
  • 1004.6.7                                ...           a year ago
  • 1004.10.1                                ...           a year ago
  • 9.20.17                                ...           a year ago
  • 1004.0.11                                ...           a year ago
  • 1004.6.6                                ...           a year ago
  • 1004.10.0                                ...           a year ago
  • 1004.6.5                                ...           a year ago
  • 1004.0.10                                ...           a year ago
  • 9.20.16                                ...           a year ago
  • 1004.9.0                                ...           a year ago
  • 1004.0.9                                ...           a year ago
  • 1004.6.4                                ...           a year ago
  • 1004.8.2                                ...           a year ago
  • 1004.8.1                                ...           a year ago
  • 9.20.15                                ...           a year ago
  • 1004.0.8                                ...           a year ago
  • 1004.6.3                                ...           a year ago
  • 1004.8.0                                ...           a year ago
  • 1004.7.1-rc.0                                ...           a year ago
  • 9.20.14                                ...           a year ago
  • 1004.6.2                                ...           a year ago
  • 1004.7.0                                ...           a year ago
  • 1004.0.7                                ...           a year ago
  • 1004.0.6                                ...           a year ago
  • 1004.6.1                                ...           a year ago
  • 9.20.13                                ...           a year ago
  • 1004.6.0                                ...           a year ago
  • 9.16.16                                ...           a year ago
  • 9.20.12                                ...           a year ago
  • 1004.0.5                                ...           a year ago
  • 1004.5.0                                ...           a year ago
  • 9.16.15                                ...           a year ago
  • 9.20.11                                ...           a year ago
  • 1004.0.4                                ...           a year ago
  • 1004.4.0                                ...           a year ago
  • 1004.4.0-SNAPSHOT                                ...           a year ago
  • 9.20.10                                ...           a year ago
  • 1004.0.3                                ...           a year ago
  • 1004.3.0                                ...           a year ago
  • 9.20.9                                ...           a year ago
  • 1004.0.2                                ...           a year ago
  • 1004.2.0                                ...           a year ago
  • 9.20.8                                ...           a year ago
  • 1004.0.1                                ...           a year ago
  • 1004.1.0                                ...           a year ago
  • 9.20.7                                ...           a year ago
  • 1004.0.0                                ...           a year ago
  • 9.25.1                                ...           a year ago
  • 9.25.2-SNAPSHOT                                ...           a year ago
  • 9.25.0                                ...           a year ago
  • 9.24.2-rc.0                                ...           a year ago
  • 9.20.5                                ...           a year ago
  • 9.24.1                                ...           a year ago
  • 9.16.8                                ...           a year ago
  • 9.16.6                                ...           a year ago
  • 9.24.0                                ...           a year ago
  • 9.23.1-rc.0                                ...           a year ago
  • 9.22.1-rc.0                                ...           a year ago
  • 9.22.0                                ...           a year ago
  • 9.20.1                                ...           a year ago
  • 9.21.0                                ...           2 years ago
  • 9.20.1-rc.0                                ...           2 years ago
  • 9.20.0                                ...           2 years ago
  • 9.19.1                                ...           2 years ago
  • 9.16.5                                ...           2 years ago
  • 9.19.0                                ...           2 years ago
  • 9.18.0                                ...           2 years ago
  • 9.16.4                                ...           2 years ago
  • 9.16.3                                ...           2 years ago
  • 9.16.3-rc.0                                ...           2 years ago
  • 9.17.0                                ...           2 years ago
  • 9.16.1                                ...           2 years ago
  • 9.16.1-rc.0                                ...           2 years ago
  • 9.15.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 218
This Month 218
Last Day 2
Last Week 39
Last Month 371
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |