We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4cf1aee + 53637e5 commit d8a794cCopy full SHA for d8a794c
2 files changed
.gitignore
@@ -7,3 +7,4 @@
7
/tmp
8
node_modules
9
oclif.manifest.json
10
+.idea/
src/commands/search.ts
@@ -14,7 +14,8 @@ export default class Search extends Command {
14
public static description = 'Once you select a command, hit enter and it will show the help for that command.'
15
16
public async run(): Promise<unknown> {
17
- const commands = this.config.commands as Array<Command.Loadable & { readableId: string }>
+ const commands = (this.config.commands as Array<Command.Loadable & { readableId: string }>).filter(c => !c.hidden)
18
+
19
for (const command of commands) {
20
command.readableId = toConfiguredId(command.id, this.config)
21
}
0 commit comments