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.
Very good packge! You can actually get the output of commands, assign command output to variables, print command output, and more!
Pip installation:
Run this in your command prompt/shell:
pip install cli_commander
Importing cli-commander
How to import cli-commander with no issues:
import cli_commander.commands
cli-commander venv
Create a new virtual environment like this:
import cli_commander.commands as cli
cli.venv("MyExampleVenv").new()
Get into an existing virtual environment like this:
import cli_commander.commands as cli
cli.venv("MyExampleVenv").new()
You can leave a virtual environment using the venv.leave() function. Example:
import cli_commander.commands as cli
myVenv = cli.venv("MyExampleVenv").enter()
myVenv.leave()
Need help with the 117 more functions?
Run this:
import cli_commander.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
Built Distribution
File details
Details for the file cli_commander-0.2.2.tar.gz
.
File metadata
- Download URL: cli_commander-0.2.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2372795364ddb35e2065edf1c83d56a3500d2275fe36cfbb56758ccbec91a277 |
|
MD5 | 9900e31dd75abd5f4c521e22075b7d54 |
|
BLAKE2b-256 | aa1368640756c4f1d77355f940f9a6154cc0eae28f8dc0b77841a85ad7d9aede |
File details
Details for the file cli_commander-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: cli_commander-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43271569c3624f47d84ca57cca18c34be0bbedbdc6dc6a1fcdd78b9635933af2 |
|
MD5 | 1e88502e1a755ff64507747e56a3b31b |
|
BLAKE2b-256 | e55ba112d3d538e28b69e862e186b51a5429a319b22deac9dcbbd814d1c51f09 |