Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
Comandor
Very Simple Script for Run your command!
A simple tool to simplify some repetitive
tasks such as updating the Linux repository and daily tasks!
How Install
pip install comandor
How Use
- make file .comandor
- setup config like this (json file)
{
"name": "Update Apps!",
"debug": true, // run debug mode ( not necessary )
"logfile": "./logs.log", // where save logs ( not necessary )
"actions": [
{
"action_name": "scoop update pkg",
"path": "C:/",
"commands": [
"scoop update -g *"
],
"timeout": 5000
}
// you can add more action
]
}
OR yaml file:
name: "test rund command"
debug: true
logfile: "./logs.log"
actions:
- action_name: "test12"
path: "."
commands:
- "cd ."
timeout: 5000
- you can see .comandor.example for more example
- and run this command
comandor
Command Line Help
❯ comandor -h
usage: comandor [-h] [-l LOGFILE] [-c CONFIG] [-d] [-sk SKIP]
options:
-h, --help show this help message and exit
-l LOGFILE, --logfile LOGFILE
where save logfile
-c CONFIG, --config CONFIG
where you have config file
-d, --debug run debug mod
-sk SKIP, --skip SKIP
skip with text,check text and if found match skip
How run tests?
python -m unittest test/test_comandor.py
Metadata
Release files for comandor 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comandor-0.4.1.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comandor-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / comandor-0.4.1.tar.gz
| Download URL | comandor-0.4.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06ba95fdaa79de37b7e714b4b5ef5c268337f9c25363fa18969e98340f19f76d
|
|
BLAKE2b-256 checksum How to use checksums |
3cb94a22a1e2138e051e93bac22fb7a6c49c3492a783b3b1d8a94799462ea8e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / comandor-0.4.1-py3-none-any.whl
| Download URL | comandor-0.4.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04c74c03e212157d2cce3d4b0475788b38082ed811a5391ba08a50e8162e0be6
|
|
BLAKE2b-256 checksum How to use checksums |
b6c89a9b77522a66bbf27af22fa8e10ae4ef577cc5311b5480550802d4cab24b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|