sucre
v0.4.5
Published
ECS helper
Downloads
10
Readme
🍬 sucre
ECS helper
Usage
$ npm install -g sucre
$ sucre COMMAND
running command...
$ sucre (-v|--version|version)
sucre/0.4.5 darwin-x64 node-v11.14.0
$ sucre --help [COMMAND]
USAGE
$ sucre COMMAND
...
Commands
sucre help [COMMAND]
sucre logs [LOGGROUPNAME]
sucre logs:groups [LOGGROUPNAMEPREFIX]
sucre logs:streams [LOGGROUPNAME]
sucre services
sucre services:info [SERVICENAME]
sucre services:redeploy [SERVICENAME]
sucre tasks:definitions [FAMILYPREFIX]
sucre tasks:families
sucre tasks:run
sucre help [COMMAND]
display help for sucre
USAGE
$ sucre help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
sucre logs [LOGGROUPNAME]
retrieve logs
USAGE
$ sucre logs [LOGGROUPNAME]
OPTIONS
-e, --end=end end of the time range
-n, --num=num number of lines to display
-p, --prefix=prefix filter log stream by prefix
-s, --start=start start of the time range
-t, --tail tail logs
See code: src/commands/logs/index.ts
sucre logs:groups [LOGGROUPNAMEPREFIX]
retrieve log streams
USAGE
$ sucre logs:groups [LOGGROUPNAMEPREFIX]
See code: src/commands/logs/groups.ts
sucre logs:streams [LOGGROUPNAME]
retrieve log streams
USAGE
$ sucre logs:streams [LOGGROUPNAME]
OPTIONS
-p, --prefix=prefix filter log stream by prefix
See code: src/commands/logs/streams.ts
sucre services
describe services
USAGE
$ sucre services
OPTIONS
-C, --cluster=cluster the cluster of the services
See code: src/commands/services/index.ts
sucre services:info [SERVICENAME]
describe a service
USAGE
$ sucre services:info [SERVICENAME]
OPTIONS
-C, --cluster=cluster the cluster of the service
-w, --watch watch for changes
See code: src/commands/services/info.ts
sucre services:redeploy [SERVICENAME]
redeploys a service
USAGE
$ sucre services:redeploy [SERVICENAME]
OPTIONS
-C, --cluster=cluster the cluster of the service
See code: src/commands/services/redeploy.ts
sucre tasks:definitions [FAMILYPREFIX]
list task definitions
USAGE
$ sucre tasks:definitions [FAMILYPREFIX]
See code: src/commands/tasks/definitions.ts
sucre tasks:families
list task definition families
USAGE
$ sucre tasks:families
See code: src/commands/tasks/families.ts
sucre tasks:run
run a one-off process inside a container
USAGE
$ sucre tasks:run
OPTIONS
-C, --cluster=cluster the cluster to run on
-c, --container=container the container to use
-f, --task-definition-path=task-definition-path the path to a task definition json file
-t, --task-definition=task-definition the task definition to use
--log-group-name=log-group-name
--log-stream-name-prefix=log-stream-name-prefix
ALIASES
$ sucre run
See code: src/commands/tasks/run.ts