1.0.4 • Published 8 years ago

hubot-double-parking v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

NPM Version NPM Downloads

NPM

hubot-double-parking

A hubot script that solves double parking issue.

See src/doubleParking.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-double-parking --save

Then add hubot-double-parking to your external-scripts.json:

[
  "hubot-double-parking"
]

Sample Interaction

Commands

hubot>> car find <number> - Will send message to owner of the car to visit parking.
hubot>> car add <number> <description> - Car with <number> will be added in the list against <user> name who run commnad.
hubot>> car update <number> <description> - Will update description of car mentioned.
hubot>> car remove <number> - Car with <number> will be removed from the list.
hubot>> car list - List all the cars.

Add Car

user1>> hubot car add 1234 Honda City
hubot>> Car Added: 1234 : user1 : user one : Honda City

Find Car

user2>> hubot car find 1234
hubot>> user1 please visit car parking. user2 is looking for you.

Update Car

user1>> hubot car update 1234 Toyota Corolla
hubot>> Car Updated: 1234 : user1 : user one : Toyota Corolla

List Car

user1>> hubot car list
hubot>> Number	| Owner		| Description
		1234 	| user one 	  Toyota Corolla

Remove Car

user1>> hubot car remove 1234
hubot>> Car removed: 1234
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.1.0

8 years ago