Display catalog of commands user uses often.
Project description
Commandsheet: display catalog of commands user uses often
What does it do? Exactly what the title says! (Or maybe more like: display catalog of commands you never remember how to use).
I came up with this project for one reason: there's always some of those commands I never remember how to use.
Commandsheet to the rescue! With it, you can document the commands of your liking (i.e. the commands you never know how to use) and what they do to a config file, which Commandsheet then reads and prints nicely to the screen for you. Nice and simple!
Installation
Commandsheet is available in PyPi!
python -m pip install commandsheet
Usage
You should have a basic config file set up before you can use Commandsheet. Check the next section to set up the config.
After setting up the config file, using Commandsheet is as easy as running:
commandsheet
Configuration
Below is an example config file for Commandsheet. Copy the contents, create the
file ~./config/commandsheet/commandsheet.ini
and paste the contents there.
The name between the brackets denotes the start of a section. The name can be anything useful for you, for example '[my commands]'. To add entries under a section, separate the key and value with a '=', where the key on the left of the '=' is supposed to be a command or a command-sequence, and the value on the right a description for that command / command-sequence.
# commandsheet.ini
[ffmpeg]
ffmpeg -i input.mp4 output.avi = convert input.mp4 to output.avi
[zipfiles]
unzip filename.zip -d <dir> = unzip filename.zip to <dir>
zip archive.zip file1 file2 = zip files to archive.zip
zip -r archive.zip dir1 dir2 = zip dirs into archive.zip
zip -r archive.zip dir1 dir2 file1 file2 = zip dirs & files into archive.zip
[filesystem]
ls -l = list in long format
cp -v = copy and show what is happening
[networking]
ip a = show interface configuration
ping <address> = ping address <address>
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 commandsheet-0.1.0.tar.gz
.
File metadata
- Download URL: commandsheet-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db010e7543b9fbab544fc07d1e1adba2b5ba3ebed55f6cbbccbc27beb1749b8 |
|
MD5 | 95f63a1ad8fc75ff3c8ac23759fd9396 |
|
BLAKE2b-256 | fb4a3d896c8ea28c15dcd72137e3f164f41e60a9ef024d990d29dde82ccb3c57 |
File details
Details for the file commandsheet-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: commandsheet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e6d8ff57edbadfc274d2bb7b01c2b45e3a606695bff5bac054e8299da6cb592 |
|
MD5 | 3546de69aa0d0fb995f111d844ec5ce8 |
|
BLAKE2b-256 | 6d9e5b0498a75e681e26606443e0dd8c82c29db62a0471bbd0005e5020102cb9 |