Skip to content

qddegtya/cf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


cf


I'd rather write programs to write programs than write programs.

我想写的不只是程序,而且是会写程序的程序。


About

✨ a guided and prescriptive CLI creator.

Feature

  • 🚀 One-shot bootstrap
  • ⚙ Support lifecycle mode
  • 🙂 Guided and prescriptive

Quick Start

$ npm install -g cf

Advanced Usage

hooks list

  • will-inject: before command module's injection
  • will-parse: before cli-engine start
bootstrap.hooks.listen('will-inject', async (next) => {
  try {
    await sleep(3000)
  } catch (error) {
    console.log(error)
  }
  
  await next();
})

About

✨ A guided and prescriptive CLI creator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published