Skip to main content

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 3.6 or later (for Word + HTML generation)
  • pandoc-crossref (for table/image/section references)
  • pango-view (for PDF generation)

![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.

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

  1. Install the dependencies (Python, Pandoc, pandoc-crossref, pango-view) as indicated in Installation
  2. Fork this repository if you plan to change the code or create pull requests.
  3. Clone either your forked repository or this repository, e.g. git clone https://github.com/ceos-org/ceos-ard-cli
  4. Switch into the newly created folder: cd ceos-ard-cli
  5. Install this package in development mode: pip install -e .

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

ceos_ard_cli-0.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ceos_ard_cli-0.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file ceos_ard_cli-0.1.0.tar.gz.

File metadata

  • Download URL: ceos_ard_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for ceos_ard_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ddaa23fb73ae3769cf57eec5d62995479c1e1baf4889b76fd89a522b53039d2b
MD5 8ae5699edc87b491e289245724d8f8a9
BLAKE2b-256 ba8af442500d59fe6ec330f8442f3915ce4993cd7bb9b28e6dec5d6b9f796c58

See more details on using hashes here.

File details

Details for the file ceos_ard_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ceos_ard_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for ceos_ard_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77d09c95cb5634d51be764049ecca6cab7859e7e27c43f89faec696784f95c95
MD5 3a132adadc05539bdd5fbaeed709297c
BLAKE2b-256 a5b6dabf51eb018e0efd23b87531e3656c0bda2bd5d7002226bfa1501f642ed6

See more details on using hashes here.

Supported by

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