{"id":21995073,"url":"https://github.com/redhataccess/pantheon-cmd","last_synced_at":"2025-08-17T12:39:21.477Z","repository":{"id":43830216,"uuid":"382047523","full_name":"redhataccess/pantheon-cmd","owner":"redhataccess","description":"Pantheon CMD is an open source and freely distributed program for validating and building local previews of modular documentation.","archived":false,"fork":false,"pushed_at":"2023-05-25T00:54:27.000Z","size":1429,"stargazers_count":2,"open_issues_count":19,"forks_count":5,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-30T17:43:02.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhataccess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-01T13:46:09.000Z","updated_at":"2021-12-10T17:28:08.000Z","dependencies_parsed_at":"2024-11-29T21:12:20.309Z","dependency_job_id":null,"html_url":"https://github.com/redhataccess/pantheon-cmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redhataccess/pantheon-cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fpantheon-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fpantheon-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fpantheon-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fpantheon-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhataccess","download_url":"https://codeload.github.com/redhataccess/pantheon-cmd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fpantheon-cmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270850051,"owners_count":24656443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T21:12:15.586Z","updated_at":"2025-08-17T12:39:21.452Z","avatar_url":"https://github.com/redhataccess.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pantheon CMD\n\nPantheon CMD is a Python-based command-line tool that allows you to generate a rendered preview of modular documentation using the new HAML templates.\n\nInstalling Pantheon CMD using RPM allows you to perform actions using the predefined aliases such as: \n* `pcmd validate`\n* `pcmd generate`\n* `pcmd preview`\n\nAlternatively, you can clone this repository and add the following `pcmd` scripts on $PATH, but the ability to use predefined aliases will not be possible.\n\n## Directory Structure\n\nThe top level of this repository contains the following files and directories:\n\n**build**\nA directory that contains the following files:\n* latest RPM for the script\n* SPEC file used to generate the RPM.\n\n**make.sh**\nA script used to package the script as an RPM-based package that can be installed using *yum* or *dnf*.\n\n**PantheonCMD**\nA directory containing the source files for the script, and the man page file.\n\n## Updating the Script\nAll additions and updates to the script are welcome.\n\n## Packaging the Script\nAfter you update Pantheon CMD and test the changes, build an RPM-based package for the script to be installed on systems that use *yum* or *dnf*.\n\n* Prerequisites:\n    * A user has registered their SSH keys with GitHub.\n\n1. Install the `svn` and `rpmbuild` packages on your system:\n   ```shell\n   # on RHEL\n   $ sudo yum install subversion\n   $ sudo yum install rpm-build\n\n   # on Fedora\n   $ sudo dnf install subversion\n   $ sudo dnf install rpm-build\n   ```  \n2. Clone this repository.\n   ```shell\n   $ git clone git@github.com:redhataccess/pantheon-cmd.git\n   ```\n3. Open *./build/pantheon-cmd.spec*.\n4. Increment the value of the *Release* number.\n    As an example, `Release:   1%{?dist}` increments the version of the build to `1.0.1`, where `{?dist}` identifies of your Linux distribution.\n5. Run the build script:\n   ```shell\n   $ sh make.sh 1.0\n   ```\n   As a result, the `build/pantheon-cmd-1.0-X.\u003cyour-distribution-and-version\u003e.noarch.rpm` file is generated in the root of the repository. This file will be used in the following step.\n\n## Installing Pantheon CMD\n\nInstall Pantheon CMD on a local system.\n\n## Installing Pantheon CMD on RHEL and Fedora\n\nInstall the RPM and all Ruby gem dependencies.\n\n1. Install the RPM:\n   ```shell\n   $ sudo dnf localinstall build/pantheon-cmd-1.0-X.el8.noarch.rpm\n   ```\n   Note that your `rpm` filename might differ based on your Linux distribution.\n   * Example:\n        *  `el8` for RHEL 8\n        *  `fc34` for Fedora 34\n\n2. Install Ruby gem dependencies:\n   ```shell\n   $ sudo gem install asciidoctor concurrent-ruby haml tilt\n   ```\n\nThe script is installed on your local machine.\nThe script provides the `pcmd` command.\nEnter `pcmd -h` in your terminal to view the basic usage instructions.\n\n## Installing Pantheon CMD on OSX\n\nInstall the dependencies and copy the source files into your local binaries directory.\n\n1. Clone the repository:\n   ```shell\n   $ git clone\n   ```\n\n2. Run the `osx-cmd-intallation.sh` installation script:\n   ```shell\n   $ /bin/bash osx-cmd-intallation.sh\n   ```\n\n## Licensing\n\nThis script uses locale attributes files from the AsciiDoctor repository.\n\nFor more information, see https://github.com/asciidoctor/asciidoctor/tree/master/data/locale\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhataccess%2Fpantheon-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhataccess%2Fpantheon-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhataccess%2Fpantheon-cmd/lists"}