Skip to content

fagan2888/Adapt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is a prototype of a tool that will take unix commands and integrate them automatically into a python command line tool.

All you have to do to get it to work is to place your own commands in the config.ini

The commands and options are generated based on the values in the config file.

To start Adapt as a web service: python serve.py

To exit the web service: Ctrl-C

To run it check out the repo and type:

Example output

python cli.py --help

adapt git:(master) python cli.py --help Usage: adapt [options]

A commandline tool mapper

Options:

--version show program's version number and exit -h, --help show this help message and exit --list
--mybigcmd
--ip

➜ adapt git:(master) python cli.py --ip
10.0.20.11

Screenshot

Screenshot1

About

Config File to Command line to Web Service Adaptation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%