@torque.cloud/cli
v1.0.13
Published
CLI for Torque enabled Cloud development.
Downloads
6
Readme
@torque.cloud/cli
CLI for Modular development.
Usage
$ npm install -g @torque.cloud/cli
$ torque COMMAND
running command...
$ torque (-v|--version|version)
@torque.cloud/cli/1.0.13 darwin-x64 node-v16.13.1
$ torque --help [COMMAND]
USAGE
$ torque COMMAND
...
Commands
torque app
torque app:add [APPNAME]
torque build
torque connect CONSUMERANDPROVIDERTUPLE
torque dependency:add CONSUMERAPPNAME PROVIDERTORQUEOBJECTNAME
torque docs PACKAGE
torque emulate
torque help [COMMAND]
torque instance [IGNOREDVALUE] [STACKNAMEANDAPPNAME]
torque lib
torque lib:add [LIBNAME]
torque list
torque push
torque run
torque service:add [SERVICENAME]
torque workspace
torque workspace:create WORKSPACE
torque app
Manage Apps.
USAGE
$ torque app
OPTIONS
-h, --help show CLI help
See code: src/commands/app/index.ts
torque app:add [APPNAME]
Generate a new App.
USAGE
$ torque app:add [APPNAME]
ARGUMENTS
APPNAME name of the app to create
OPTIONS
-h, --help show CLI help
-p, --pattern-name=pattern-name
--depends-on=depends-on [default: ]
See code: src/commands/app/add.ts
torque build
Push Workspace to Torque Cloud.
USAGE
$ torque build
OPTIONS
-h, --help show CLI help
See code: src/commands/build/index.ts
torque connect CONSUMERANDPROVIDERTUPLE
Define dependencies among Apps.
USAGE
$ torque connect CONSUMERANDPROVIDERTUPLE
ARGUMENTS
CONSUMERANDPROVIDERTUPLE name of the provider App or Service
OPTIONS
-h, --help show CLI help
-u, --using=using
See code: src/commands/connect/index.ts
torque dependency:add CONSUMERAPPNAME PROVIDERTORQUEOBJECTNAME
Define dependencies among Apps.
USAGE
$ torque dependency:add CONSUMERAPPNAME PROVIDERTORQUEOBJECTNAME
ARGUMENTS
CONSUMERAPPNAME name of the consumer App
PROVIDERTORQUEOBJECTNAME name of the provider App or Service
OPTIONS
-h, --help show CLI help
See code: src/commands/dependency/add.ts
torque docs PACKAGE
Show docs of installed Torque Packages.
USAGE
$ torque docs PACKAGE
ARGUMENTS
PACKAGE name of the Torque Package
OPTIONS
-h, --help show CLI help
See code: src/commands/docs/index.ts
torque emulate
Emulate Torque Cloud locally.
USAGE
$ torque emulate
OPTIONS
-h, --help show CLI help
-p, --port=port
See code: src/commands/emulate/index.ts
torque help [COMMAND]
display help for torque
USAGE
$ torque help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
torque instance [IGNOREDVALUE] [STACKNAMEANDAPPNAME]
Generate a new App.
USAGE
$ torque instance [IGNOREDVALUE] [STACKNAMEANDAPPNAME]
ARGUMENTS
IGNOREDVALUE here comes "app"
STACKNAMEANDAPPNAME name of the app to create
OPTIONS
-h, --help show CLI help
-p, --pattern-name=pattern-name
--depends-on=depends-on [default: ]
See code: src/commands/instance/index.ts
torque lib
Manage Libraries.
USAGE
$ torque lib
OPTIONS
-h, --help show CLI help
See code: src/commands/lib/index.ts
torque lib:add [LIBNAME]
Generate a new Library.
USAGE
$ torque lib:add [LIBNAME]
ARGUMENTS
LIBNAME name of the Library to create
OPTIONS
-h, --help show CLI help
-p, --pattern-name=pattern-name
See code: src/commands/lib/add.ts
torque list
List installed Torque Packages.
USAGE
$ torque list
OPTIONS
-h, --help show CLI help
See code: src/commands/list/index.ts
torque push
Push Workspace to Torque Cloud.
USAGE
$ torque push
OPTIONS
-h, --help show CLI help
See code: src/commands/push/index.ts
torque run
Emulate Torque Cloud locally.
USAGE
$ torque run
OPTIONS
-h, --help show CLI help
-p, --port=port
See code: src/commands/run/index.ts
torque service:add [SERVICENAME]
Generate a new Service.
USAGE
$ torque service:add [SERVICENAME]
ARGUMENTS
SERVICENAME name of the service to create
OPTIONS
-h, --help show CLI help
-p, --pattern-name=pattern-name
See code: src/commands/service/add.ts
torque workspace
Manage your Workspaces.
USAGE
$ torque workspace
OPTIONS
-h, --help show CLI help
See code: src/commands/workspace/index.ts
torque workspace:create WORKSPACE
Create new Torque Workspace.
USAGE
$ torque workspace:create WORKSPACE
ARGUMENTS
WORKSPACE name of workspace to create
OPTIONS
-h, --help show CLI help
See code: src/commands/workspace/create.ts