Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (22 loc) · 901 Bytes

README.md

File metadata and controls

41 lines (22 loc) · 901 Bytes

progsche (module)

Animated progressbar similar to DHCP, add animation to your scripts using `source'

Preview

Usage:

1. Source this file on your shell script

2. Start the animation:

   progsche_drive "[parameter1]" -> this parameter will display your message

      e.g.: progsche_drive "Loading" # "Installing", "Copying" and etc.

3. Run your command

4. progsche_brake "[parameter1]" -> this parameter your command's exit status

      e.g.: progsche_brake $? || exit 1

Also see: test.sh

Reference

Inspirations

  • xshin
  • tlatsas
  • alifnurc
  • u0a316

MIT License