Search
Preparing search index...
The search index is not available
pretty-exec — Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
pretty-exec — Reference
Index
Namespaces
Parsing
Result
Interfaces
Cli
Exec
Env
Color
Schemes
Create
Options
Pretty
Exec
Printer
Process
Spawn
Func
Spawn
Options
Spawn
Return
Styling
Func
Writable
Variables
DEFAULT_
ARGUMENT_
STYLING_
FUNC
DEFAULT_
COLOR_
SCHEMES
DEFAULT_
COMMAND_
STYLING_
FUNC
DEFAULT_
FLAG_
STYLING_
FUNC
DEFAULT_
OPTION_
KEY_
STYLING_
FUNC
DEFAULT_
OPTION_
VALUE_
STYLING_
FUNC
DEFAULT_
PREFIX
DEFAULT_
PREFIX_
STYLING_
FUNC
Functions
create
Pretty
Exec
escape
main
parse
Command
Arguments
parse
Single
Command
Argument
Object literals
SPAWN_
OPTIONS
Variables
Const
DEFAULT_
ARGUMENT_
STYLING_
FUNC
DEFAULT_
ARGUMENT_
STYLING_
FUNC
:
StylingFunc
= chalk
Const
DEFAULT_
COLOR_
SCHEMES
DEFAULT_
COLOR_
SCHEMES
:
ColorSchemes
Const
DEFAULT_
COMMAND_
STYLING_
FUNC
DEFAULT_
COMMAND_
STYLING_
FUNC
:
StylingFunc
= chalk.green
Const
DEFAULT_
FLAG_
STYLING_
FUNC
DEFAULT_
FLAG_
STYLING_
FUNC
:
StylingFunc
= chalk.red
Const
DEFAULT_
OPTION_
KEY_
STYLING_
FUNC
DEFAULT_
OPTION_
KEY_
STYLING_
FUNC
:
StylingFunc
= chalk.red
Const
DEFAULT_
OPTION_
VALUE_
STYLING_
FUNC
DEFAULT_
OPTION_
VALUE_
STYLING_
FUNC
:
StylingFunc
= chalk
Const
DEFAULT_
PREFIX
DEFAULT_
PREFIX
:
[
"$"
]
= ['$'] as const
Const
DEFAULT_
PREFIX_
STYLING_
FUNC
DEFAULT_
PREFIX_
STYLING_
FUNC
:
StylingFunc
= chalk.dim
Functions
create
Pretty
Exec
create
Pretty
Exec<Return>
(
options
:
CreateOptions
<
Return
>
)
:
PrettyExec
<
Return
>
Type parameters
Return
Parameters
options:
CreateOptions
<
Return
>
Returns
PrettyExec
<
Return
>
escape
escape
(
...
args
:
string
[]
)
:
any
Parameters
Rest
...
args:
string
[]
Returns
any
main
main<Status>
(
options
:
CliExecEnv
<
Status
>
)
:
Status
|
-1
Type parameters
Status
Parameters
options:
CliExecEnv
<
Status
>
Returns
Status
|
-1
parse
Command
Arguments
parse
Command
Arguments
(
args
:
Iterable
<
string
>
)
:
ParsingResult
[]
Parameters
args:
Iterable
<
string
>
Returns
ParsingResult
[]
parse
Single
Command
Argument
parse
Single
Command
Argument
(
text
:
string
)
:
ParsingResult
Parameters
text:
string
Returns
ParsingResult
Object literals
Const
SPAWN_
OPTIONS
SPAWN_
OPTIONS
:
object
stdio
stdio
:
"inherit"
= "inherit"
Globals
Externals
Parsing
Result
Cli
Exec
Env
Color
Schemes
Create
Options
Pretty
Exec
Printer
Process
Spawn
Func
Spawn
Options
Spawn
Return
Styling
Func
Writable
DEFAULT_
ARGUMENT_
STYLING_
FUNC
DEFAULT_
COLOR_
SCHEMES
DEFAULT_
COMMAND_
STYLING_
FUNC
DEFAULT_
FLAG_
STYLING_
FUNC
DEFAULT_
OPTION_
KEY_
STYLING_
FUNC
DEFAULT_
OPTION_
VALUE_
STYLING_
FUNC
DEFAULT_
PREFIX
DEFAULT_
PREFIX_
STYLING_
FUNC
create
Pretty
Exec
escape
main
parse
Command
Arguments
parse
Single
Command
Argument
SPAWN_
OPTIONS
Generated using
TypeDoc