38 lines
No EOL
1.3 KiB
Markdown
38 lines
No EOL
1.3 KiB
Markdown
# 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/)
|
|
|
|
<details>
|
|
<summary>Example gif</summary>
|
|
|
|

|
|
|
|
</details>
|
|
|
|
### 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)
|
|
|
|
<details>
|
|
<summary>Example gif</summary>
|
|
|
|

|
|
|
|
</details>
|
|
|
|
|
|
### To Do:
|
|
- [ ] Add in global error handling |