c3-addon-cli
A set of commands to manage Construct 3 addon development
Last updated 3 months ago by nagyv .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install c3-addon-cli 
SYNC missed versions from official npm registry.

Construct 3 Addon CLI

A set of commands to manage Construct 3 addon development

oclif Version Downloads/week License

Usage

You can use this addon as an npx script too. e.g. npx c3-addon-cli addAction myShinyAction

$ npm install -g c3-addon-cli
$ c3-addon-cli COMMAND
running command...
$ c3-addon-cli (-v|--version|version)
c3-addon-cli/1.2.4 win32-x64 node-v10.15.0
$ c3-addon-cli --help [COMMAND]
USAGE
  $ c3-addon-cli COMMAND
...

Commands

c3-addon-cli addAction ID

Add new action

USAGE
  $ c3-addon-cli addAction ID

ARGUMENTS
  ID  An identifier for the action. This will be the scriptName too.

OPTIONS
  -h, --isHighlighted  Is highlighted
  --dryRun             Dry run. Don't write any changes to disk

See code: src\commands\addAction.js

c3-addon-cli addCondition ID

Add new condition

USAGE
  $ c3-addon-cli addCondition ID

ARGUMENTS
  ID  An identifier for the condition. This will be the scriptName too.

OPTIONS
  -h, --isHighlighted  Is highlighted
  -i, --isInvertible   Is invertible
  -t, --isTrigger      Is trigger
  --dryRun             Dry run. Don't write any changes to disk

See code: src\commands\addCondition.js

c3-addon-cli addExpression ID

Add new expression

USAGE
  $ c3-addon-cli addExpression ID

ARGUMENTS
  ID  An identifier for the expression. This will be the scriptName too.

OPTIONS
  --dryRun  Dry run. Don't write any changes to disk

See code: src\commands\addExpression.js

c3-addon-cli help [COMMAND]

display help for c3-addon-cli

USAGE
  $ c3-addon-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

c3-addon-cli init OUTDIR

Start a new C3 plugin

USAGE
  $ c3-addon-cli init OUTDIR

ARGUMENTS
  OUTDIR  The output directory for the new C3 plugin code

See code: src\commands\init.js

Plans

  1. Provide the cli functionality for behaviors and effects too

License

MIT license. See LICENCE.md

Current Tags

  • 1.2.4                                ...           latest (3 months ago)

7 Versions

  • 1.2.4                                ...           3 months ago
  • 1.2.3                                ...           3 months ago
  • 1.2.2                                ...           3 months ago
  • 1.2.1                                ...           3 months ago
  • 1.2.0                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |