rubdo 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rubdo/cli.rb +5 -5
- data/lib/rubdo/version.rb +1 -1
- metadata +1 -1
data/lib/rubdo/cli.rb
CHANGED
@@ -14,7 +14,7 @@ module Rubdo
|
|
14
14
|
@list.add File.read(tmp_file).chomp
|
15
15
|
File.delete(tmp_file)
|
16
16
|
else
|
17
|
-
puts "aborted because
|
17
|
+
puts "aborted because due to empty file"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
@@ -56,17 +56,17 @@ module Rubdo
|
|
56
56
|
@list.items.delete_at(@id)
|
57
57
|
end
|
58
58
|
|
59
|
-
def help
|
59
|
+
def help
|
60
60
|
puts <<-HELP
|
61
|
-
Commands for
|
61
|
+
Commands for rubdo:
|
62
62
|
------------------
|
63
|
-
add/a [task description] - Add a new task
|
63
|
+
add/a [task description] - Add a new task. If the description is empty, $EDITOR is opened
|
64
64
|
list/ls - Lists all tasks
|
65
65
|
completed - List all completed tasks
|
66
66
|
done/d [task id] - Complete a task
|
67
67
|
info [task id] - Gives info about the specific task
|
68
68
|
edit/e [task id] - Opens up $EDITOR to edit the task description
|
69
|
-
remove/rm [task id] -
|
69
|
+
remove/rm [task id] - Deletes the specific task
|
70
70
|
help - Prints out this information
|
71
71
|
HELP
|
72
72
|
end
|
data/lib/rubdo/version.rb
CHANGED