0.0.6 • Published 3 years ago

clif v0.0.6

Weekly downloads
30
License
-
Repository
-
Last release
3 years ago

clif

Command-line Interface Framework

⚠️ Status - WIP

This is a release candidate, we do not recommmend using this framework just yet.

🗒 About

This is a framework for building multi-level command CLIs in Node.js.

✨ Features

  • Flag declaration and parsing - As standard.
  • Positionals declaration and parsing - Leaf node commands can define positionals as inputs
  • No compiling - this is a runtime CLI framework
  • High speed - Since it's a very small runtime framework the clif is low overhead in both production and development scenarios
  • Pattern-based declarative flow - Commands are implemented with (async) generator functions that yield pattern objects. This allows for rapid initial CLI development while patterns can continually specialize over time.

📖 Documentation

  • Coming soon

🏍 Engines

  • Node 12.4+
  • Node 14.0+

💻 Development

Test:

npm test

Visual coverage report (run after test):

npm run cov

Lint:

npm run lint

Autoformat:

npm run lint -- --fix

📜 License

MIT

🌶 Acknowledgements

Sponsored by CTO.ai

1.0.0-rc.11

3 years ago

1.0.0-rc.10

3 years ago

1.0.0-rc.7

3 years ago

1.0.0-rc.8

3 years ago

1.0.0-rc.6

3 years ago

1.0.0-rc.5

3 years ago

1.0.0-rc.4

3 years ago

1.0.0-rc.2

3 years ago

1.0.0-rc.0

3 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

9 years ago