Browse Source

Add logs command

umbrel-beta
Luke Childs 4 years ago
parent
commit
6e647839c9
  1. 7
      umbrel-dev

7
umbrel-dev

@ -16,6 +16,7 @@ Commands:
halt Halt the development VM
destroy Destroy the development VM
rebuild [<container>] Rebuild all or a specific container
logs Stream Umbrel logs
run <command> Run a command inside the development VM
ssh Get an SSH session inside the development VM
EOF
@ -82,6 +83,12 @@ if [[ "$command" = "rebuild" ]]; then
exit
fi
# Stream Umbrel logs
if [[ "$command" = "logs" ]]; then
run "docker-compose logs -f"
exit
fi
# Run a command inside the development VM
if [[ "$command" = "run" ]]; then
run "$2"

Loading…
Cancel
Save