(argv: ArgumentsCamelCase<CommandArgs>)
| 35 | .epilog(buildEpilog({ command })) |
| 36 | |
| 37 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 38 | const command = await apiOrganizationCommand(argv) |
| 39 | |
| 40 | const config: OutputListConfig<CapabilityNamespace> = { |
| 41 | sortKeyName: 'name', |
| 42 | primaryKeyName: 'name', |
| 43 | listTableFieldDefinitions: ['name', 'ownerType', 'ownerId'], |
| 44 | } |
| 45 | await outputList(command, config, () => command.client.capabilities.listNamespaces()) |
| 46 | } |
| 47 | |
| 48 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 49 | export default cmd |
nothing calls this directly
no test coverage detected