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

Animated progress bar similar to DHCP using code from progsche, add the animation to your script using `source

Notifications You must be signed in to change notification settings

luisadha/progsche

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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