Kui API Documentation - v11.0.0 / @kui-shell/core / pc
▸ command(cmdline
): string
Name | Type |
---|---|
cmdline |
string |
string
packages/core/src/core/usage/pretty-code.ts:23
▸ examples(examples
, sectionTitle?
): string
Name | Type | Default value |
---|---|---|
examples |
Example [] |
undefined |
sectionTitle |
string |
'Examples' |
string
packages/core/src/core/usage/pretty-code.ts:70
▸ intro(paragraph
): string
Name | Type |
---|---|
paragraph |
string |
string
packages/core/src/core/usage/pretty-code.ts:27
▸ option(opts
): string
Name | Type |
---|---|
opts |
string | string [] |
string
packages/core/src/core/usage/pretty-code.ts:31
▸ options(options
): string
Name | Type |
---|---|
options |
Option [] |
string
packages/core/src/core/usage/pretty-code.ts:87
▸ pipeline(code
): string
Name | Type |
---|---|
code |
string |
string
pretty-printed version of the given bash pipeline
packages/core/src/core/usage/pretty-code.ts:43
▸ related(related
): string
Name | Type |
---|---|
related |
string [] |
string
packages/core/src/core/usage/pretty-code.ts:81
▸ title(_
): string
Name | Type |
---|---|
_ |
Title |
string
packages/core/src/core/usage/pretty-code.ts:37
▸ usage(usages
): string
Name | Type |
---|---|
usages |
string [] |
string