vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::UI::Basic#report_progress

This is used to output progress reports to the UI.
Send this method progress/total and it will output it
to the UI. Send `clear_line` to clear the line to show
a continuous progress meter.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/ui.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--UI--Basic-report_progress-for-pr


# Commit to git

git add lib/vagrant/ui.rbgit commit -m "better docs for Vagrant::UI::Basic#report_progress"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Vagrant--UI--Basic-report_progress-for-pr

hub pull-request


# Celebrate!