chore(shared): 🔧 Update shared dependencies and build scripts to enforce stricter linting rules
This commit is contained in:
parent
cd8e6399ae
commit
28693e5287
2 changed files with 7 additions and 7 deletions
|
|
@ -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']
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue