0.0.1 • Published 3 years ago
pace-timer v0.0.1
About Pace
Pace is a Typescript app that performs a countdown timer using a visual renderer on the command line. Choose a renderer when you run the app, or run preview to see a representation of all the renderers.
Usage
USAGE
$ pace [DURATION] [RENDERER]
ARGUMENTS
DURATION duration in (m)inutes and (s)seconds (eg 3m10s = 190 seconds)
RENDERER the timer renderer:
bar, bigtext, circles, colorwheel, colossal, pie, renderers, shuffle, slant, sweep
DESCRIPTION
Displays a progress timer
EXAMPLES
$ pace 2.5m pieThe Shuffle Renderer

Use the shuffle renderer to preview all renderers in action. This renderer switches to another renderer every 10 seconds.
pace 5m shufflePreview All Renderers
pace tools previewContributing
It would be great to see more renderers! To write a new renderer add a subclass of src/renderers/TimerRenderer and register it with
a short name in src/renderers/AllRenderers.
Preview All Available Figlet Fonts
pace tools allfontsPreview All Available Colors and Gradients
pace tools colorblocksNotes
- Renderers should not store state between callbacks, since the
shufflerenderer andtools previewcommand depend on calling renderers at selected intervals.
Built With
- Typescript
- Yarn
- Oclif
0.0.1
3 years ago