(yargs: Argv)
| 18 | const describe = 'clear saved answers to questions' |
| 19 | |
| 20 | const builder = (yargs: Argv): Argv<CommandArgs> => |
| 21 | smartThingsCommandBuilder(yargs) |
| 22 | .example([ |
| 23 | ['$0 config:reset', 'reset cli-managed configuration for the default profile'], |
| 24 | ['$0 config:reset --profile hub2', 'reset cli-managed configuration for the profile named "hub2"'], |
| 25 | ]) |
| 26 | .epilog(buildEpilog({ |
| 27 | command, |
| 28 | notes: 'The CLI will occasionally ask you if you want it to remember the answer to a question, such as ' + |
| 29 | '"Which hub do you want to use?" You can use this command to clear those answers.', |
| 30 | })) |
| 31 | |
| 32 | const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => { |
| 33 | const command = await smartThingsCommand(argv) |
nothing calls this directly
no test coverage detected