(argv: ArgumentsCamelCase<CommandArgs>)
| 38 | .epilog(buildEpilog({ command, apiDocs: 'getDeviceConfiguration' })) |
| 39 | |
| 40 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 41 | const command = await apiCommand(argv) |
| 42 | |
| 43 | await outputItem( |
| 44 | command, |
| 45 | { buildTableOutput: data => buildTableOutput(command.tableGenerator, data) }, |
| 46 | // presentationId is required in the `positional` argument above so it will always be set here. |
| 47 | // eslint-disable-next-line @typescript-eslint/no-non-null-assertion |
| 48 | () => command.client.presentation.get(argv.presentationId!, argv.manufacturerName), |
| 49 | ) |
| 50 | } |
| 51 | |
| 52 | const cmd: CommandModule<object, CommandArgs> = { command, describe, builder, handler } |
| 53 | export default cmd |
nothing calls this directly
no test coverage detected