Useful xonsh-shell commands/alias functions
Project description
Useful xonsh-shell commands/alias functions
If you like the idea click ⭐ on the repo and stay tuned.
Installation
To install use pip:
xpip install xontrib-commands
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-commands
Usage
xontrib load commands
building alias
Use xontrib.commands.Command
to build arger dispatcher
for your functions.
from xontrib.commands import Command
@Command
def record_stats(pkg_name=".", path=".local/stats.txt"):
stat = $(scc @(pkg_name))
echo @($(date) + stat) | tee -a @(path)
Commands
1. reload-mods
2. report-key-bindggs
Credits
This package was created with xontrib cookiecutter template.
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 xontrib-commands-0.2.0.tar.gz
.
File metadata
- Download URL: xontrib-commands-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.9.11-3-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f384633954dea4a59779c318fe871bcd62bfdb67df070be11c4c22a6501c5f |
|
MD5 | fa9c7f64feb59176702507466834785e |
|
BLAKE2b-256 | f1c62a00fd6b087147785684c494940e47504bd261daa20b70122bf58b9064c6 |
File details
Details for the file xontrib_commands-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: xontrib_commands-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.9.11-3-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7d27f9d8ff13ac2a37f9b25845b90a7be2fc09a69451e573f276b9148fb08e |
|
MD5 | 58564e470c6d4731ea019b837829426f |
|
BLAKE2b-256 | 1aa4b0c5192fe64fe8ea43e4ddcdcf909297e4c89762aef1fbe28696dbbd55c2 |