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.2.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

commandsheet-0.2.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file commandsheet-0.2.0.tar.gz.

File metadata

  • Download URL: commandsheet-0.2.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for commandsheet-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eb5e42c67effd91e73ebfbd70b352d6bb712da367cd94363d90342b673d61b0a
MD5 e9bf752180a2538c2a2674ab7cc26e21
BLAKE2b-256 eeec644708eb4b40bed31838c61140ef7d79094529cbe755b8452b26d3947e9e

See more details on using hashes here.

File details

Details for the file commandsheet-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for commandsheet-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eab0e97b65a1850c88ac819f92a608dc5ee9b81a8e694df261d8b7b44a6c8810
MD5 b796e5c6e4b7adc23129dcb79f6dc882
BLAKE2b-256 8c980d828a45e2311233a82e2966be0e405b8076fc2c40c61276d543a2f28af4

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