Skip to main content

Display catalog of commands user uses often.

Project description

Commandsheet: display catalog of commands user uses often

image

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commandsheet-0.1.0a1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

commandsheet-0.1.0a1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file commandsheet-0.1.0a1.tar.gz.

File metadata

  • Download URL: commandsheet-0.1.0a1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for commandsheet-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 bacba654e0321325a9badcd6443bc3d5e1c82e5bb8e2f7cea479f64923f8687e
MD5 0a7221dd72a5ce5d26a4abbb74afd14e
BLAKE2b-256 503b18ede5c57c86fc344e9e896b4f12c0c52147b61e15118df73bd2d8d2f6b8

See more details on using hashes here.

File details

Details for the file commandsheet-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for commandsheet-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd351d3c79ec189ae6111de31d41c6f1801262bfc7bd6b917dbf4c52db33dff4
MD5 9e4aab88af10e4bd265e2b03131cdd8c
BLAKE2b-256 717253c9d952daf068a72383f5127b441cb09c1d4be84a47cd31c0490ab9ee32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page