wash ctx
wash ctx
provides a user with tools to interact with wasmCloud host configuration contexts. By default, the host configuration context is stored in a host_config.json
file in your $HOME/.wash/contexts
directory. This command will help you to interactively manage host contexts by performing operations such as addition, removal and editing of contexts. Following are the available subcommands under wash ctx
:
list
del
new
default
edit
list
Lists all of the stored contexts available in $HOME/.wash/contexts
except index.json
.
Usage
wash ctx list
Options
--directory
Location of context files for managing. Defaults to $WASH_CONTEXTS ($HOME/.wash/contexts) [env: WASH_CONTEXTS]
--output
(Alias -o
) Specify output format (text or json) [default: text]
del
Delete a context stored in the contexts directory. The user may supply the name of the context to delete or will be prompted to select an existing one
Usage
wash contexts del <context-name>
Options
--directory
Location of context files for managing. Defaults to $WASH_CONTEXTS ($HOME/.wash/contexts) [env: WASH_CONTEXTS]
--output
(Alias -o
) Specify output format (text or json) [default: text]