A toolbox for ubinos development.
To install ubitool in development mode:
pip install -e .To install ubitool:
pip install .After installation, you can use ubitool from the command line:
ubitool --helptail- Print the last part of a filehtail- Print unread content of a file with position trackingshtail- Runhtailagainst the latest tmux session logssend- Send keys to a tmux sessionstssend- Retry sending keys to a tmux session until expected output appearsshell- Execute a shell commandstshell- Retry a shell command until expected output appearsls- List directory contents or files matching patternssort- Sort lines from a file or stdinjson- Read or write JSON/JSON5 files with JMESPath supportreplace- Replace text in a filelibmgr- Launch library manager UIconfigsel- Launch config selector UI
This package is part of the ubinos ecosystem and is designed to work with tmux sessions and log monitoring.
- Python 3.8+
- typer
- ipdb