CLI tools for CEOS-ARD
Project description
CEOS-ARD CLI
CLI for working with the CEOS-ARD building blocks and PFSes.
Getting Started
In order to make working with CEOS-ARD easier we have developed command-line interface (CLI) tools.
Installation
You will need to have Python 3.9 or any later version installed.
For the generate and generate-all commands you also need the following software installed:
- pandoc v3.6.2 (for Word + HTML generation)
- pandoc-crossref v0.3.18.1a or later (for table/image/section references)
![NOTE] The following command doesn't work yet as the package as not been published on pypi yet. Please continue with the Development instructions for now.
Run pip install ceos-ard-cli in the CLI to install the tool.
Afterwards, we also need to install a browser for PDF rendering: playwright install chromium --with-deps
Execute a command
After the installation you should be able to run the following command: ceos-ard
You should see usage instructions and available commands for the CLI.
Commands
ceos-ard compile: Compile PFS document to a Markdown file
To compile a PFS document to a Markdown file, run: ceos-ard compile SR
The last part is the PFS to create, e.g. SR or SAR-NRB.
Check ceos-ard compile --help for more details.
ceos-ard generate: Create Word/HTML/PDF documents for a single PFS
To create the Word, HTML, and PDF versions of a single PFS, run: ceos-ard generate SR
The last part is the PFS to create, e.g. SR or SAR-NRB.
Check ceos-ard generate --help for more details.
ceos-ard generate-all: Create Word/HTML/PDF documents for all PFSes
To create the Word, HTML, and PDF versions for all PFSes, run: ceos-ard generate-all
Check ceos-ard generate-all --help for more details.
ceos-ard validate: Validate CEOS-ARD components
To validate (most of) the building blocks, run: ceos-ard validate
Check ceos-ard validate --help for more details.
Development
- Install the dependencies as indicated in Installation
- Fork this repository if you plan to change the code or create pull requests.
- Clone either your forked repository or this repository, e.g.
git clone https://github.com/ceos-org/ceos-ard-cli - Switch into the newly created folder:
cd ceos-ard-cli - Install this package in development mode:
pip install -e .
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ceos_ard_cli-0.1.4.tar.gz.
File metadata
- Download URL: ceos_ard_cli-0.1.4.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce49260aae1f293fc7bf401032a45a1cd6b9272423d085663d6e63390ce158f6
|
|
| MD5 |
7582c5eefd958c4b9fd00b4234e61533
|
|
| BLAKE2b-256 |
cc109061447c76af452c4b6b755466826ad2bb2650ee7206c14467c3f52a2cdb
|
File details
Details for the file ceos_ard_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ceos_ard_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c4e3ebb0c591590bdc3384413aec04dca2bdd55304a8f4adcd9d16dfea6cd6d
|
|
| MD5 |
ffe6f6d0c45d4f8217772a3709fde596
|
|
| BLAKE2b-256 |
cfcd38dd69ddaed29f76a0122babd5a93d8205eac6c23dad4bb321ffe274ad5f
|