The clipboard to use for copying/pasting
The command executor to use for executing commands
The logger to use for logging
A subject that emits when the command is aborted
Optional
optionsThe options for the CLI
The process to use for exiting the CLI
The progress bar to use for showing progress
The services to use for the CLI context
Set the current processor as the context processor, i.e. the processor that will handle the command
The processor to set
Optional
silent: booleanIndicates if the setting should be silent, i.e. not write to the terminal
The prompt to use for prompting the user for input
Optional
spinnerThe spinner to use for showing/hiding the loader
The state store to use for storing state
The terminal to use for writing
Optional
textThe text animator to use for showing/hiding text
Optional
userThe current user session
The writer to use for writing to the terminal
Represents the context in which a command is executed