Easily display command-line options
Project description
optic
Refresh yourself on what those elusive options do, hassle free!
Example
View the descriptions of -xcf and –format in the given order:
optic tar xcf update
Output:
-x, --extract, --get -extract files from an archive -c, --create create a new archive -f, --file ARCHIVE use archive file or device ARCHIVE -u, --update only append files newer than copy in archive
Notes
For the sake of my sanity, I will refer to the optional arguments for this program as flags, and the positional arguments as options.
Installing
optic is installed using pip for Python 3. By default your local pip tool may be linked to Python 2. To be safe run the following command:
sudo pip3 install optic
If the pip3 command is not found install the package with:
sudo apt-get install python3-pip
Note that the above command will only work on Debian-based systems.
Contributing
This project is still in the beginning stages. Contributions are very welcome.
License
This software is licensed under GPLv3. See the LICENSE file for more information.
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
File details
Details for the file optic-0.0.3.tar.gz
.
File metadata
- Download URL: optic-0.0.3.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e4ea07265fc2092d1f05a4bb0384cad0e2c4ad0178196ca74c714903f815938 |
|
MD5 | 8b74e5a488c14fbfccbe6e828528b898 |
|
BLAKE2b-256 | 0c81d9e925a15390e962ff124b00c990c51822b8ab4c0242fe3d6239d83967de |