(yargs: Argv)
| 23 | const describe = 'create a location for a user' |
| 24 | |
| 25 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 26 | inputAndOutputItemBuilder(apiCommandBuilder(yargs)) |
| 27 | .example([ |
| 28 | [ |
| 29 | '$0 locations:create -i my-location.yaml', |
| 30 | 'create a location defined in "my-location.yaml"', |
| 31 | ], |
| 32 | ]) |
| 33 | .epilog(buildEpilog({ command, apiDocs: 'createLocation' })) |
| 34 | |
| 35 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 36 | const command = await apiCommand(argv) |
nothing calls this directly
no test coverage detected