Skip to main content

A Very Simple Script for Run your command!

Project description

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
{
  "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
  ]
}
  • you can see .comandor.example for more example
  • and run this command

comandor

Command Line Help

Command Info
-h see help
-l < path log file > where save logFile, if don't use this, not save logs
-c < path config file > setup yor config file instead of .comandor file
-d run program debug mode

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comandor-0.2.9.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

comandor-0.2.9-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page