Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 862 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 862 Bytes

CLI Checklist

A CLI checklist app.

Powered by Inquirer.js.

How to use

Install globally using npm install -g cli-checklist or install as a developer dependency using npm install -D cli-checklist

Initialize (create a sample input file) using cli-checklist init

Run the checklist using cli-checklist checklist.json or cli-checklist /path/to/your/file

This can be used with Husky to perform checklists before committing or pushing to repos.

Structure of the input file

{
    "name": "Checklist", // Name for the checklist, will be shown in prompt
    "items": [
        "Question 1", // Checklist item 1
        "Question 2" // Checklist item 2
    ]
}

Screenshots