Pantheon CMD is a Python-based command-line tool that allows you to generate a rendered preview of modular documentation using the new HAML templates.
The top level of this repository contains the following files and directories:
build A directory that contains the latest RPM for the script, and the SPEC file used to generate the RPM.
make.sh A script used to package the script as an RPM-based package that can be installed using yum or dnf.
PantheonCMD A directory containing the source files for the script, and the man page file.
All additions and updates to the script are welcome.
After you update the manifest updater and test the changes, you can build an RPM-based package for the script so that it can be installed on systems that use yum or dnf.
- Install the
svn
andrpmbuild
packages on your system:# on RHEL $ sudo yum install subversion $ sudo yum install rpm-build # on Fedora $ sudo dnf install subversion $ sudo dnf install rpm-build
- Open ./build/pantheon-cmd.spec.
- Increment the value of the Release number.
- Run the build script:
$ sh make.sh 1.0
Install Pantheon CMD on a local system.
Install the RPM and all Ruby gem dependencies.
-
Install the RPM:
$ sudo dnf localinstall build/pantheon-cmd-1.0-X.el8.noarch.rpm
Note that your
rpm
filename might be different, for example, if you are running Fedora. -
Install Ruby gem dependencies:
$ sudo gem install asciidoctor concurrent-ruby haml tilt
The script is installed on your local machine.
The script provides the pcmd
command.
Enter pcmd -h
in your terminal to view the basic usage instructions.
Install the dependencies and copy the source files into your local binaries directory.
-
Clone the repository:
$ git clone
-
Run the
osx-cmd-intallation.sh
installation script:$ /bin/bash osx-cmd-intallation.sh
This script uses locale attributes files from the AsciiDoctor repository.
For more information, see https://github.com/asciidoctor/asciidoctor/tree/master/data/locale