diff --git a/src/command/status.ts b/src/command/status.ts index 97b61137..91d8f4c7 100644 --- a/src/command/status.ts +++ b/src/command/status.ts @@ -28,7 +28,7 @@ export class Status extends RootCommand implements LeafCommand { const nodeInfo = await this.bee.getNodeInfo() this.console.all(createKeyValue('Mode', nodeInfo.beeMode)) - if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT && nodeInfo.beeMode !== BeeModes.DEV) { + if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT) { this.console.all('') this.console.all(chalk.bold('Chainsync')) const { block, chainTip, currentPrice } = await this.bee.getChainState() @@ -41,16 +41,14 @@ export class Status extends RootCommand implements LeafCommand { this.console.all(createKeyValue('Storage Price', currentPrice.toLocaleString() + ' PLUR / chunk / block')) } - if (nodeInfo.beeMode !== BeeModes.DEV) { - this.console.all('') - this.console.all(chalk.bold('Topology')) - const topology = await this.bee.getTopology() - this.console.all(createKeyValue('Connected Peers', topology.connected)) - this.console.all(createKeyValue('Population', topology.population)) - this.console.all(createKeyValue('Depth', topology.depth)) - } + this.console.all('') + this.console.all(chalk.bold('Topology')) + const topology = await this.bee.getTopology() + this.console.all(createKeyValue('Connected Peers', topology.connected)) + this.console.all(createKeyValue('Population', topology.population)) + this.console.all(createKeyValue('Depth', topology.depth)) - if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT && nodeInfo.beeMode !== BeeModes.DEV) { + if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT) { this.console.all('') this.console.all(chalk.bold('Wallet')) try { @@ -63,7 +61,7 @@ export class Status extends RootCommand implements LeafCommand { } } - if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT && nodeInfo.beeMode !== BeeModes.DEV) { + if (nodeInfo.beeMode !== BeeModes.ULTRA_LIGHT) { this.console.all('') this.console.all(chalk.bold('Chequebook')) try { diff --git a/src/config.ts b/src/config.ts index c0929790..a1c4d1a9 100644 --- a/src/config.ts +++ b/src/config.ts @@ -96,13 +96,6 @@ export const yes: IOption = { description: 'Agree to all prompts', } -export const dev: IOption = { - key: 'dev', - description: 'Indicate that the connected Bee node is running in dev mode', - type: 'boolean', - default: false, -} - export const optionParameters: IOption[] = [ beeApiUrl, configFolder, @@ -114,7 +107,6 @@ export const optionParameters: IOption[] = [ curl, header, yes, - dev, ] export const rootCommandClasses = [