Version: 0.0.20.0.30.0.40.0.50.0.60.0.70.0.80.0.90.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.70.1.80.1.90.2.00.2.1-fix0.2.1-rc10.2.1-rc1.10.2.1-rc1.20.2.1-rc1.30.2.1-rc1.40.2.10.2.2-rc10.2.20.2.30.2.4-rc10.2.4-rc20.2.4-rc30.2.4-rc40.2.4-rc50.2.4-rc60.2.4-rc70.2.4-rc80.2.4-rc90.2.40.2.5-rc10.2.5-rc20.2.5-rc30.2.5-rc40.2.5-rc50.2.5-rc60.2.50.2.60.2.70.2.80.2.9-rc10.2.9-rc20.2.9-rc30.2.9-rc40.2.9-rc50.2.9-rc60.3.00.3.1-rc0.3.1-rc10.3.1-rc20.3.1-rc30.3.1-rc40.3.1-rc50.3.1-rc60.3.1-rc70.3.20.3.3-rc10.3.3-rc20.3.3-rc30.3.3-rc40.3.40.3.5-rc10.3.5-rc20.3.5-rc30.3.5-rc40.3.6
# Menehra-CLI
a cli plugin for menhera
### Use For Module
```bash
yarn add menhera menhera-cli
```
```js
// index.js
const _ = new Menhera({
_mount: {
CLI
},
CLI: {
commands: {
_: {
options: {
test: {
alias: "t",
desc: "test"
}
exec({ _, $0, _key }) {
if (!$0) {
_.$use({ CLI: { help: _key } });
foo: {
desc: "Test foo",
args: ["foo", "foo1"],
exec({ foo }) {}
bar: {
desc: "Test bar",
args: ["bar"],
exec({ bar }) {}
}).$use({
config: {
name: "example",
version: "0.0.2",
start: true
});
node index.js -h
![preview](./assets/cli.png)