commandpack
commandpack - A package of modules for working with commands, command packages, files with command packages.
Author and developer: Aleksandr Suvorov (Smart Legion).
Supported:
- Linux: All.
- Windows: 7/8/10.
- Termux (Android).
Requirements:
What's new?
commandpack v0.1.0
Description:
A package of modules for working with commands, command packages, files containing command packages.
Used to create utilities for working with commands (execution, launch, autorun, storage).
You can keep your commands in simple and understandable files, collect them in one place, split into named categories (packages) and execute at any time:
The files must have the extension *.cfg, or *.json and have the correct structure:
commands.cfg:
[package name 1]
command 1
command 2
command N
[package name 2]
command 1
command 2
command N
commands.json:
{ "pack name": [ "command1", "command2", "commandN" ], "pack name2": [ "command1", "command2", "commandN" ]}
Help:
Install and Use:
pip install commandpack
Usage Example:
- commandman - Cli command manager. Start and autorun commands.
- commandoro (On development stage) - Console command manager. Create, edit, view and run files with command packages.
Termux support:
Utilities created with use work "commandpack", without problems in Termux.
Windows support:
- Install python
Utilities created with use work "commandpack", without problems in Windows:
commandman - Cli command manager. Start and autorun commands.
Test coverage:
Run tests:
pip3 install pytest
pytest -v
Test coverage 100%
pip install pytest-coverage
pytest --cov
Report html:
pytest --cov --cov-report=html