# CLI Formatter with Spinner This repository contains two scripts written in both `bash` and `python`, a `formatter` and an `example`, that work together to execute tasks with a spinner and formatted output. The `formatter` script provides functions for running tasks with a spinner, while the `example` script demonstrates how to use these functions by defining and executing a set of tasks or functions. There are slight differences between the `bash` and `python` versions with the python version being the further along. ## Python Formatter [Python Files](https://github.com/seanssmith/CLI-Formatter/tree/main/python_task_importer) View the Package on [PyPi](https://pypi.org/project/TaskFormatter/)
Example gif ![](https://github.com/seanssmith/CLI-Formatter/blob/main/python_task_importer/pythonformatterexample.gif)
### To Do: - [ ] Add in handling for echo lines in function - [ ] Figure out a way to have print statements show up live rather than in bunches ## Bash Formatter [Bash Files](https://github.com/seanssmith/CLI-Formatter/tree/main/bash_task_importer)
Example gif ![](https://github.com/seanssmith/CLI-Formatter/blob/main/bash_task_importer/bashformatterexample.gif)
### To Do: - [ ] Add in global error handling