tfh
v1.0.80
Published
Interractive Progress Bar for terraform commands
Downloads
76
Maintainers
Readme
Terraform Progress Bar
* No installation required
Demo
Also check out Tree View Demo
Prerequisite
- Install Node.js
How to use
Pipe output to npx. For example:
Use:
$ terraform plan | npx github:tfbar/web
Instead of
$ terraform plan
And see the progress bar.
Notes
- You may also use npm package if preferred
$ terraform plan | npx tfh@latest
- On windows machine, prefer cmd over powershell for better experience
Permenant Installation
In linux / mac
Add the following line to your favorite shell config file: .zshrc, .bashrc, .bash_profile.
$ iterraform(){ terraform "$@" | npx github:tfbar/web }
Then use like this:
$ iterraform plan
In windows cmd
- Create a batch file named iterraform.bat and paste the following into it
@ECHO OFF
terraform %* | npx github:tfbar/web
- Add iterraform.bat to system path
Then use it like:
$ iterraform.bat apply
Contributing
Pull requests are welcome. Feel free to...
- Revise documentation
- Add new features
- Fix bugs
- Suggest improvements
License
License CC BY-NC-ND 4.0