Skip to content

Commit

Permalink
fix: update command description for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com>
  • Loading branch information
leninmehedy committed Jan 24, 2024
1 parent c5fd507 commit b6121dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/commands/cluster.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class ClusterCommand extends BaseCommand {
static getCommandDefinition (clusterCmd) {
return {
command: 'cluster',
desc: 'Manage cluster',
desc: 'Manage fullstack testing cluster',
builder: yargs => {
return yargs
.command({
Expand Down
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/commands/init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class InitCommand extends BaseCommand {
static getCommandDefinition (initCmd) {
return {
command: 'init',
desc: 'Perform dependency checks and initialize local environment',
desc: 'Initialize local environment',
builder: y => {
flags.setCommandFlags(y, flags.chartDirectory)
flags.setCommandFlags(y, flags.namespace)
Expand Down
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/commands/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export class NodeCommand extends BaseCommand {
static getCommandDefinition (nodeCmd) {
return {
command: 'node',
desc: 'Manage a node running Hedera platform',
desc: 'Manage Hedera platform node in fullstack testing network',
builder: yargs => {
return yargs
.command({
Expand Down
12 changes: 6 additions & 6 deletions fullstack-network-manager/src/commands/relay.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class RelayCommand extends BaseCommand {
static getCommandDefinition (relayCmd) {
return {
command: 'relay',
desc: 'Manage JSON RPC relays',
desc: 'Manage JSON RPC relays in fullstack testing network',
builder: yargs => {
return yargs
.command({
Expand All @@ -225,10 +225,10 @@ export class RelayCommand extends BaseCommand {
)
},
handler: argv => {
relayCmd.logger.debug("==== Running 'chart install' ===", { argv })
relayCmd.logger.debug("==== Running 'relay install' ===", { argv })

relayCmd.install(argv).then(r => {
relayCmd.logger.debug('==== Finished running `chart install`====')
relayCmd.logger.debug('==== Finished running `relay install`====')

if (!r) process.exit(1)
}).catch(err => {
Expand All @@ -245,17 +245,17 @@ export class RelayCommand extends BaseCommand {
flags.nodeIDs
),
handler: argv => {
relayCmd.logger.debug("==== Running 'chart uninstall' ===", { argv })
relayCmd.logger.debug("==== Running 'relay uninstall' ===", { argv })
relayCmd.logger.debug(argv)

relayCmd.uninstall(argv).then(r => {
relayCmd.logger.debug('==== Finished running `chart uninstall`====')
relayCmd.logger.debug('==== Finished running `relay uninstall`====')

if (!r) process.exit(1)
})
}
})
.demandCommand(1, 'Select a chart command')
.demandCommand(1, 'Select a relay command')
}
}
}
Expand Down

0 comments on commit b6121dc

Please sign in to comment.