hubot-double-parking
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "hubot-double-parking", | ||
"description": "A hubot script that solves double parking issue.", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "Waleed Ashraf <hy@waleedashraf.me>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -23,5 +23,42 @@ # hubot-double-parking | ||
### 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 1 : 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 | ||
``` |
5923
63