diff --git a/src/commands/infra.ts b/src/commands/devops.ts similarity index 96% rename from src/commands/infra.ts rename to src/commands/devops.ts index 59b55ab..684a31a 100644 --- a/src/commands/infra.ts +++ b/src/commands/devops.ts @@ -186,12 +186,12 @@ function formatRow(check: ServiceCheck): string[] { ] } -export function createInfraCommand(): Command { - return new Command('infra') - .description('Check status of infrastructure services (npm.nasty.sh, forge.nasty.sh)') +export function createDevopsCommand(): Command { + return new Command('devops') + .description('Check status of devops services (npm.nasty.sh, forge.nasty.sh)') .option('-v, --verbose', 'Show detailed information') .action(async (options: { verbose?: boolean }) => { - const spinner = ora('Checking infrastructure status...').start() + const spinner = ora('Checking devops services...').start() try { // Run all checks in parallel @@ -205,7 +205,7 @@ export function createInfraCommand(): Command { spinner.stop() console.log() - logInfo('Infrastructure Status') + logInfo('Devops Status') console.log() const headers = ['Service', 'Status', 'Response', 'Details'] diff --git a/src/index.ts b/src/index.ts index 392ee5c..c14075e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import { createUpgradeCommand } from './commands/upgrade.js' import { createVRAMCommand } from './commands/vram.js' import { createRAMCommand } from './commands/ram.js' import { createWorkflowsCommand } from './commands/workflows.js' -import { createInfraCommand } from './commands/infra.js' +import { createDevopsCommand } from './commands/devops.js' const program = new Command() @@ -32,7 +32,7 @@ program.addCommand(createUpgradeCommand()) program.addCommand(createVRAMCommand()) program.addCommand(createRAMCommand()) program.addCommand(createWorkflowsCommand()) -program.addCommand(createInfraCommand()) +program.addCommand(createDevopsCommand()) // Parse arguments program.parse()