Skip to content

theashiot/conman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conman tool for modular documentation

Use the conman tool to create modules and assemblies based on the latest modular documentation templates. For information about modular documentation, see https://redhat-documentation.github.io/modular-docs/. The templates are available at https://github.com/redhat-documentation/modular-docs.

How to use

Prerequisites
  • Java 8 or higher.

  • Maven.

    You can download Maven from https://maven.apache.org/download.cgi.

  • Active internet connection.

    The tool always fetches the latest templates from the Git repository. At this time there is no caching or local fallback available for offline use.

Procedure
  1. Either clone this repository, or download the zip and then unzip.

  2. Navigate to the conmanadoc directory.

  3. Build the application using Maven.

    $ mvn clean package
  4. Navigate to the generated target directory.

  5. Run the tool using the java -jar command.

    $ java -jar conmanadoc-0.0.1-SNAPSHOT.jar

    The tool displays options and usage.

    Usage:
    
    java -jar conman.jar --type <TYPE> --name <NAME>
    
    TYPE is one of:
    con		:	use for concept module
    proc		:	use for procedure module
    ref		:	use for reference module
    assembly	:	use for assembly
    
    Example: java -jar conman --type con --name "My new module"
    
    Optionally use --context with assembly to provide a custom assembly context
    
    Example: java -jar conman --type assembly --name "My new assembly" --context "my custom context"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages