(argv: ArgumentsCamelCase<CommandArgs>)
| 33 | .epilog(buildEpilog({ command, apiDocs: 'createLocation' })) |
| 34 | |
| 35 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 36 | const command = await apiCommand(argv) |
| 37 | |
| 38 | await inputAndOutputItem(command, { tableFieldDefinitions }, |
| 39 | (_, input: LocationCreate) => command.client.locations.create(input)) |
| 40 | } |
| 41 | |
| 42 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 43 | export default cmd |
nothing calls this directly
no test coverage detected