Lager Development Environments
lager devenv
Lager devenv commands
lager devenv [OPTIONS] COMMAND [ARGS]...
add-command
Add COMMAND to devenv with the name COMMAND_NAME
lager devenv add-command [OPTIONS] COMMAND_NAME [COMMAND]
Options
- --warn, --no-warn
Whether to print a warning if overwriting an existing command.
- Default
True
Arguments
- COMMAND_NAME
Required argument
- COMMAND
Optional argument
create
Create a development environment
lager devenv create [OPTIONS]
Options
- --image <image>
- Default
lagerdata/devenv-cortexm
- --mount-dir <mount_dir>
- Default
/app
- --shell <shell>
Path to shell executable in docker image
delete
Delete devenv config
lager devenv delete [OPTIONS]
Options
- --yes
Confirm the action without prompting.
delete-command
Delete COMMAND_NAME from devenv
lager devenv delete-command [OPTIONS] COMMAND_NAME
Options
- --devenv <foo>
Delete command from devenv named foo
Arguments
- COMMAND_NAME
Required argument
terminal
Start an interactive terminal for a docker image
lager devenv terminal [OPTIONS]
Options
- -m, --mount <mount>
Name of volume to mount
- -u, --user <user>
User to run as
- -g, --group <group>
Group to run as
- -n, --name <name>
Set Container name
- -d, --detach, --no-detach
Run container as detached
- -p, --port <port>
Do port forwarding