Skip to content

mehmetmalli/cli-checklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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