Templates Command

Manage README templates

Syntax

qmims templates <action> [name] [path] [options]

Actions

ActionDescription
listList all available templates
showShow the content of a specific template
addAdd a custom template
removeRemove a custom template

Options

OptionAliasDescription
--verbose-VShow detailed output for debugging

Examples

List all templates:

qmims templates list

Show a specific template:

qmims templates show basic

Add a custom template:

qmims templates add my-template path/to/template.md

Remove a custom template:

qmims templates remove my-template

Built-in Templates

qmims includes five built-in templates:

TemplateDescription
basicSimple README with essential sections
detailedComprehensive README with extended sections
minimalMinimal project overview
libraryFocused on API documentation
serviceTailored for web services/APIs

Creating Custom Templates

You can create your own custom templates to match your project's specific needs. Templates are Markdown files with special comments that serve as placeholders for generated content.

# {{projectName}}

<!-- qmims:generate: Write a concise description of the project based on its structure and purpose -->

## Installation

<!-- qmims:generate: Provide installation instructions based on the detected package manager -->

## Usage

<!-- qmims:generate: Create usage examples based on the project's main functionality -->

For more information on working with templates, see the Working with Templates section.