An open API service indexing awesome lists of open source software.

https://github.com/weibozzz/command-params

获取命令行参数
https://github.com/weibozzz/command-params

Last synced: about 2 months ago
JSON representation

获取命令行参数

Awesome Lists containing this project

README

        

# command-params
获取命令行参数
## 快速使用
```shell
npm i command-params -D
```
```js
const getCommandParams = require('command-params')

// node test.js --a a
console.log(getCommandParams()) // { a: 'a' }
```