We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875eb61 commit 3cd83e9Copy full SHA for 3cd83e9
src/utils/meow-with-subcommands.ts
@@ -9,7 +9,6 @@ import type { Options } from 'meow'
9
10
interface CliAlias {
11
description: string
12
- hidden?: boolean
13
argv: readonly string[]
14
}
15
@@ -82,7 +81,7 @@ export async function meowWithSubcommands(
82
81
...toSortedObject(
83
Object.fromEntries(
84
Object.entries(aliases).filter(
85
- entry => !entry[1]?.hidden && !subcommands[entry[1]?.argv[0]!]?.hidden
+ entry => !subcommands[entry[1]?.argv[0]!]?.hidden
86
)
87
88
0 commit comments