improve README
This commit is contained in:
parent
1185df362b
commit
f33c759fa8
@ -47,4 +47,6 @@ mySmartcli.addCommand({commandname: 'install'})
|
||||
.then(argvArg => {
|
||||
// do something if program is called with command "install"
|
||||
})
|
||||
```
|
||||
```
|
||||
|
||||
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)
|
||||
|
@ -5,7 +5,7 @@ let beautylog = require('beautylog')
|
||||
let should = require('should')
|
||||
|
||||
describe('smartcli.Smartcli class',function(){
|
||||
let smartCliTestObject:smartcli.Smartcli
|
||||
let smartCliTestObject: smartcli.Smartcli
|
||||
describe('new Smartcli()',function(){
|
||||
it('should create a new Smartcli',function(){
|
||||
smartCliTestObject = new smartcli.Smartcli()
|
||||
@ -15,7 +15,7 @@ describe('smartcli.Smartcli class',function(){
|
||||
describe('.addCommand',function(){
|
||||
it('should add an command',function(){
|
||||
smartCliTestObject.addCommand({
|
||||
commandName:'awesome'
|
||||
commandName: 'awesome'
|
||||
})
|
||||
})
|
||||
})
|
||||
|
@ -1,7 +1,6 @@
|
||||
import * as q from 'q'
|
||||
|
||||
import * as plugins from './smartcli.plugins'
|
||||
import * as interaction from './smartcli.classes.interaction'
|
||||
|
||||
// import classes
|
||||
import {Objectmap} from 'lik'
|
||||
|
Loading…
Reference in New Issue
Block a user