Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #104 from mesg-foundation/ux/command-roots
Browse files Browse the repository at this point in the history
Improve command roots
  • Loading branch information
Nicolas Mahé authored Jul 8, 2019
2 parents f09958e + 3e74451 commit 5352c63
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@
],
"topics": {
"service": {
"description": "Manage MESG Services"
"description": "Manage services"
},
"daemon": {
"description": "Manage MESG Engine"
"description": "Manage the Engine"
},
"marketplace": {
"description": "Let you interact with the MESG Marketplace"
"description": "Interact with the Marketplace"
},
"account": {
"description": "Manage your MESG Accounts"
"description": "Manage accounts"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/docker-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default abstract class extends Command {
static flags = {
...Command.flags,
name: flags.string({
description: 'Name of the service running the engine',
description: 'Name of the docker service running the engine',
required: true,
default: 'engine'
}),
Expand Down
6 changes: 3 additions & 3 deletions src/marketplace-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default abstract class MarketplaceCommand extends Command {
}),
passphrase: flags.string({
char: 'p',
description: 'Passphrase to unlock your account'
description: 'Passphrase to unlock the account'
})
}

Expand Down Expand Up @@ -65,7 +65,7 @@ export default abstract class MarketplaceCommand extends Command {
const {account} = (await prompt({
type: 'list',
name: 'account',
message: 'Choose the account to use to publish your service',
message: 'Select the account to use:',
choices: addresses
})) as { account: string }
return account
Expand All @@ -76,6 +76,6 @@ export default abstract class MarketplaceCommand extends Command {
if (flags.passphrase) {
return flags.passphrase
}
return cli.prompt('Type your passphrase', {type: 'hide'})
return cli.prompt('Type the passphrase', {type: 'hide'})
}
}
2 changes: 1 addition & 1 deletion src/root-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {format, inspect} from 'util'
export default abstract class extends Command {
static flags = {
help: flags.help({char: 'h'}),
quiet: flags.boolean({char: 'q', description: 'Display only important information'}),
quiet: flags.boolean({char: 'q', description: 'Display only essential information'}),
silent: flags.boolean({hidden: true}),
}

Expand Down

0 comments on commit 5352c63

Please sign in to comment.