
docker (compose) command line helper with autocomplete written in go and cobra
Install
go install github.com/XotoX1337/dogo@latest
Alternativley you can download the binary of the latest release
Usage
Usage:
dogo [command]
Available Commands:
completion Generate completion script
create Create all or a specific service from a docker-compose.yml file
exec Execute a command in a running container
help Help about any command
list List all containers & services
rebuild Rebuild one or many services
remove Remove one or many containers
restart Restart one or many containers
shell Use shell of a running container
start Start one or many containers
stop Stop one or many containers
version Show the dogo version information
Flags:
-h, --help help for dogo
-t, --toggle Help message for toggle
Examples
dogo shell yourContainer
dogo start firstContainer secondContainer ...
Completion
To generate a completion script run
dogo completion [bash|zsh|fish|powershell]
This generates a completion script and prints it to stdout. After that, the script must be saved and loaded according to the environment (Windows, Linux).
Alternativley you can let dogo
do all that for you. At the moment the following terminals are supported:
Bash
dogo completion bash -f
this will generate the completion script and place it by default under
$HOME/.bash_completion.d/dogo-completion.sh
and also add a line to source the file for your profile.
You can change the default path for the completion script with
dogo completion bash -f -d <path>
Powershell
dogo completion bash -f
this will generate the completion script and place it by default under
$HOME\Documents\WindowsPowerShell\dogo-completion.ps1
and also add a line to source the file for your profile.
You can change the default path for the completion script with
dogo completion bash -f -d <path>
Credits
dogo mascot created by @typomedia