Compare commits
No commits in common. "3328009af6c055a109fefc61ae6123f754c033c3" and "99a3a25131999daab56676869380905d3a2ed82f" have entirely different histories.
3328009af6
...
99a3a25131
|
|
@ -53,25 +53,17 @@ program
|
||||||
// Apps
|
// Apps
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('status')
|
.command('list')
|
||||||
.helpGroup('Apps:')
|
.helpGroup('Apps:')
|
||||||
.description('Show status of all apps, or details for a specific app')
|
.description('List all apps')
|
||||||
.argument('[name]', 'app name (uses current directory if omitted)')
|
|
||||||
.option('-t, --tools', 'show only tools')
|
|
||||||
.option('-a, --apps', 'show only apps (exclude tools)')
|
|
||||||
.action((name?: string, options?: { apps?: boolean; tools?: boolean }) => {
|
|
||||||
if (name) return infoApp(name)
|
|
||||||
return listApps(options ?? {})
|
|
||||||
})
|
|
||||||
|
|
||||||
program
|
|
||||||
.command('list', { hidden: true })
|
|
||||||
.option('-t, --tools', 'show only tools')
|
.option('-t, --tools', 'show only tools')
|
||||||
.option('-a, --apps', 'show only apps (exclude tools)')
|
.option('-a, --apps', 'show only apps (exclude tools)')
|
||||||
.action(listApps)
|
.action(listApps)
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('info', { hidden: true })
|
.command('info')
|
||||||
|
.helpGroup('Apps:')
|
||||||
|
.description('Show info for an app')
|
||||||
.argument('[name]', 'app name (uses current directory if omitted)')
|
.argument('[name]', 'app name (uses current directory if omitted)')
|
||||||
.action(infoApp)
|
.action(infoApp)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user