adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Add option for --no-colors #52

Open frankcarey opened 8 years ago

frankcarey commented 8 years ago

Not every terminal supports all colors, so there should be an option to supress them or you get ugly stuff like:

[INFO] Configuration:

\t\033[0;35m- Machine Name: default \033[0m
\t\033[0;35m- Shared Folder: /home/fcarey/docker-share \033[0m
\t\033[0;35m- Mount Options: noacl,async \033[0m
\t\033[0;35m- Force: true \033[0m

[INFO] machine presence ...             \033[0;32mOK \033[0m
[INFO] machine running ...          \033[0;32mOK \033[0m
[INFO] Lookup mandatory properties ... \033[0;32mOK \033[0m

\t\033[0;35m- Machine IP: 192.168.99.102 \033[0m
\t\033[0;35m- Network ID: vboxnet0 \033[0m
\t\033[0;35m- NFSHost IP: 192.168.99.1 \033[0m