codius / old-codius-cli

Codius Client Command Line Interface (CLI)
https://codius.org
Apache License 2.0
110 stars 13 forks source link

Add `--debug` flag which prints logs from pod #49

Closed justmoon closed 6 years ago

justmoon commented 6 years ago

Builds on #47. Requires codius/codiusd#85.

Adds a flag to the Codius upload command called --debug which causes the CLI to attach to the pod's stdout/stderr. For each log line received it will print the hostname, container name and log message. For stdout, the container name is is in green, for stderr, the container name is in red.

screenshot-2018-07-03t12 06 23 911z