A Command Line Utility for Accessing Information Related to The Catholic Church
Project description
🇻🇦catholic-cli
The catholic-cli
is an awesome Catholic Theological knowledge base.
The tool currently has the following functionalities:
- Access information from The Catechism of The Catholic Church,
- Access information from The Roman Missal,
- Access Information from The Canon Law of The Catholic Church
Installation
The prerequisite is to have Python 3 installed on your computer.
Type the following command on your terminal to install this.
pip3 install catholic-cli
To do a clean update
pip3 uninstall catholic-cli
pip3 install catholic-cli
How to Interact with Catholic CLI
Non advanced users can simply type "catholic" in their terminal to start the application. Then you can use the arrow keys on your keyboard to select the different options.
More advanced users can use the command line tool similar to any other CLI.
Typing --help
at any level displays commands and arguments you can provide to the command at that level.
General Syntax
The general syntax for using the tool is as follows.
<command> <sub-command> <options>
The default command in this CLI is catholic
. All the sub commands are grouped under it.
The allowed sub-commands are:
catechism
missal
canon
The options currently supported by the catholic-cli
are:
Option | Short Form | Data Type | Description | Commands/sub-commands that allow this option | Examples | |
---|---|---|---|---|---|---|
1 | --paragraph |
-p |
INT, TEXT | Displays Paragraph(s) with the given ID | catechism canon missal |
--paragraph 10 -p 10 -p 1-5 -p 1,2 -p 1,2,4-5 |
2 | --search |
-s |
TEXT | Search for the given string | catechism canon missal |
--search "Christ" -s "eucharist" -s "The Church" |
3 | --help |
BOOLEAN | Get help text | catholic |
--help |
|
4 | --version |
BOOLEAN | Displays the version of this CLI | catholic |
--version |
Feel free to send PRs my way if you're willing to contribute to this project 🍻
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
Built Distribution
File details
Details for the file catholic-cli-1.0.0.tar.gz
.
File metadata
- Download URL: catholic-cli-1.0.0.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b87dc59e605a4a201b40dbb67380bc3709c3902027466f18ecef02e313c5e6b |
|
MD5 | 6725a6bafbf9c6d6f981d8fca1de2aa9 |
|
BLAKE2b-256 | 0fd9746d1c6d1795bb61daaf331cfe40f8d8c4ba5d4f0045a1b605e367f4656a |
File details
Details for the file catholic_cli-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: catholic_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50aa03a231cde5644166769d3d3b801596f65b83b60b23aa8cc018ead39306d6 |
|
MD5 | 5234f8af6e6b87966aabc9f35ab892a3 |
|
BLAKE2b-256 | 178dc3705b831f581e4445eded7df820b6a298b769b48e7dc228b16927613bc5 |