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