UNPKG

@clerc/plugin-strict-flags

Version:
26 lines (16 loc) 607 B
# @clerc/plugin-strict-flags [![NPM version](https://img.shields.io/npm/v/@clerc/plugin-strict-flags?color=a1b858&label=)](https://www.npmjs.com/package/@clerc/plugin-strict-flags) Clerc plugin to throw error when unknown flags are passed. ## 📦 Installation ```bash $ npm install @clerc/plugin-strict-flags $ yarn add @clerc/plugin-strict-flags $ pnpm add @clerc/plugin-strict-flags ``` ## 🚀 Usage ```ts import { strictFlagsPlugin } from "@clerc/plugin-strict-flags"; cli.use(strictFlagsPlugin()); ``` ## 📝 License [MIT](../../LICENSE). Made with ❤️ by [Ray](https://github.com/so1ve)