Kui API Documentation - v11.0.0 / @kui-shell/core / CommandOptions
@kui-shell/core.CommandOptions
-
CapabilityRequirements
↳
CommandOptions
- docs
- flags
- fullscreen
- height
- hidden
- hide
- incognito
- isDirectory
- isExperimental
- listen
- needsUI
- noArgs
- noAuthOk
- noCoreRedirect
- okOptions
- outputOnly
- override
- plugin
- preferReExecute
- requiresLocal
- semiExpand
- synonymFor
- usage
- viewName
- viewTransformer
- width
• Optional
docs: string
packages/core/src/models/command.ts:85
• Optional
flags: YargsParserFlags
packages/core/src/models/command.ts:64
• Optional
fullscreen: boolean
CapabilityRequirements.fullscreen
packages/core/src/models/command.ts:262
• Optional
height: number
packages/core/src/models/command.ts:79
hidden
• Optional
hidden: boolean
packages/core/src/models/command.ts:67
• Optional
hide: boolean
packages/core/src/models/command.ts:87
• Optional
incognito: "popup"
[]
packages/core/src/models/command.ts:70
• Optional
isDirectory: boolean
is this an interior node ("directory", versus a leaf-node with a command handler
packages/core/src/models/command.ts:82
• Optional
isExperimental: boolean
Is the command experimental? e.g. initial release, lack of test coverage
packages/core/src/models/command.ts:102
• Optional
listen: CommandListener
packages/core/src/models/command.ts:84
• Optional
needsUI: boolean
CapabilityRequirements.needsUI
packages/core/src/models/command.ts:259
• Optional
noArgs: boolean
does this command accept no arguments of any sort (neither positional nor optional)?
packages/core/src/models/command.ts:55
• Optional
noAuthOk: boolean
| string
[]
CapabilityRequirements.noAuthOk
packages/core/src/models/command.ts:261
• Optional
noCoreRedirect: boolean
controller wants to handle redirect
packages/core/src/models/command.ts:93
• Optional
okOptions: string
[]
packages/core/src/models/command.ts:90
• Optional
outputOnly: boolean
Is the command only want to show output and hide input?
packages/core/src/models/command.ts:108
• Optional
override: CommandHandler
<KResponse
<any
>, ParsedOptions
>
packages/core/src/models/command.ts:88
• Optional
plugin: string
packages/core/src/models/command.ts:89
• Optional
preferReExecute: boolean
When this command is being replayed, prefer to re-execute if possible
packages/core/src/models/command.ts:111
• Optional
requiresLocal: boolean
CapabilityRequirements.requiresLocal
packages/core/src/models/command.ts:260
• Optional
semiExpand: boolean
Semicolon-expand the command line? Default: true
packages/core/src/models/command.ts:58
• Optional
synonymFor: Command
<KResponse
<any
>, ParsedOptions
>
packages/core/src/models/command.ts:86
• Optional
usage: UsageModel
packages/core/src/models/command.ts:61
• Optional
viewName: string
packages/core/src/models/command.ts:73
• Optional
viewTransformer: ViewTransformer
<KResponse
<any
>, ParsedOptions
>
model to view transformer
packages/core/src/models/command.ts:96
• Optional
width: number