feat(CLI): Set progress output mode to plain if --debug is set #383
Labels
area/cli 🖥️
area/docker 🐳
dependencies
Pull requests that update a dependency file
good first issue ❤️
Good for newcomers
help wanted 🆘
Extra attention is needed
type/bug 🐛
type/feature 💡
Description
If we run
envd --debug up
, the log will be flushed by the output writer like this. It is random-ordered and cannot be read.The new debug flag logic in pkg/app/up.go should be:
We can use plain mode instead of auto mode here https://github.com/tensorchord/envd/blob/main/pkg/builder/builder.go#L64 if --debug flag is enabled.
The text was updated successfully, but these errors were encountered: