Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

clif

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clif

Command-line Interface Framework

npmnpm
Version
1.0.0-rc.4
Version published
Weekly downloads
4
-80%
Maintainers
1
Weekly downloads
 
Created
Source

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 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

FAQs

Package last updated on 06 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts