improve README

This commit is contained in:
Philipp Kunz 2016-10-15 02:12:10 +02:00
parent 1185df362b
commit f33c759fa8
3 changed files with 5 additions and 4 deletions

View File

@ -48,3 +48,5 @@ mySmartcli.addCommand({commandname: 'install'})
// do something if program is called with command "install" // do something if program is called with command "install"
}) })
``` ```
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)

View File

@ -5,7 +5,7 @@ let beautylog = require('beautylog')
let should = require('should') let should = require('should')
describe('smartcli.Smartcli class',function(){ describe('smartcli.Smartcli class',function(){
let smartCliTestObject:smartcli.Smartcli let smartCliTestObject: smartcli.Smartcli
describe('new Smartcli()',function(){ describe('new Smartcli()',function(){
it('should create a new Smartcli',function(){ it('should create a new Smartcli',function(){
smartCliTestObject = new smartcli.Smartcli() smartCliTestObject = new smartcli.Smartcli()
@ -15,7 +15,7 @@ describe('smartcli.Smartcli class',function(){
describe('.addCommand',function(){ describe('.addCommand',function(){
it('should add an command',function(){ it('should add an command',function(){
smartCliTestObject.addCommand({ smartCliTestObject.addCommand({
commandName:'awesome' commandName: 'awesome'
}) })
}) })
}) })

View File

@ -1,7 +1,6 @@
import * as q from 'q' import * as q from 'q'
import * as plugins from './smartcli.plugins' import * as plugins from './smartcli.plugins'
import * as interaction from './smartcli.classes.interaction'
// import classes // import classes
import {Objectmap} from 'lik' import {Objectmap} from 'lik'