Runs CLI (Command-Line Interface) commands. Run BASH commands, Linux commands, and more! All in python. Runs more than 95 commands, each in specific functions!
Project description
cli-commander
CLI commander is an easy-to-use python library for running CLI commands. All commands are supported on Linux Mint 21, and some commands are supported on other systems too.
Pip installation:
Run this in your command prompt/shell:
pip install cli_commander
Importing cli-commander
How to import cli-commander with no issues:
from cli_commander import commands
cli-commander venv
Create a new virtual environment like this:
from cli_commander import commands as cli
cli.venv("MyExampleVenv").new()
Get into an existing virtual environment like this:
from cli_commander import commands as cli
cli.venv("MyExampleVenv").new()
You can leave a virtual environment using the venv.leave() function. Example:
from cli_commander import commands as cli
myVenv = cli.venv("MyExampleVenv").enter()
myVenv.leave()
Need help with the 98 more fuctions?
Run this:
from cli_commander import commands as cli
help(cli)
Thank you
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cli_commander-0.0.4.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for cli_commander-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c1d7d7efeea4f325b0e6975e578b31ef774903c79f426b951e39f754b4307da |
|
MD5 | e382c37fe4539ec82f8ad313c787445b |
|
BLAKE2b-256 | 645ecfb3eee839e5b58580fe87ee2353d4f55da5a630bcb8dc04513bb08ccc2a |