Skip to content

Commit

Permalink
✨ Allow for custom messages per command in case something is worth no…
Browse files Browse the repository at this point in the history
…ticing
  • Loading branch information
segersniels committed Jun 25, 2019
1 parent 9ce02c9 commit 03db533
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,26 @@ export default {
error: 'no containers available to restart',
flags: [['t', 'time']],
type: CommandAlias.RUNNING_CONTAINERS,
extraUsageInfo:
'It is possible to pass "all" as the name/id to restart all currently running containers.\n eg. supdock restart all',
},
start: {
description: 'Start a stopped container',
question: 'Which container would you like to start?',
error: 'no containers available to start',
flags: [['a', 'attach'], ['i', 'interactive']],
type: CommandAlias.STOPPED_CONTAINERS,
extraUsageInfo:
'It is possible to pass "all" as the name/id to start all currently stopped containers.\n eg. supdock start all',
},
stop: {
description: 'Stop a running container',
question: 'Which container would you like to stop?',
error: 'no containers available to stop',
flags: [['f', 'force'], ['t', 'time']],
type: CommandAlias.RUNNING_CONTAINERS,
extraUsageInfo:
'It is possible to pass "all" as the name/id to stop all currently running containers.\n eg. `supdock stop all`',
},
ssh: {
description: 'SSH into a container',
Expand Down

0 comments on commit 03db533

Please sign in to comment.