rudo 0.2.00 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. data/README.md +9 -8
  2. data/bin/dun +3 -3
  3. data/bin/rad +3 -3
  4. data/bin/rudo +2 -2
  5. data/bin/walk +3 -3
  6. metadata +1 -1
data/README.md CHANGED
@@ -4,49 +4,50 @@
4
4
 
5
5
  Rudo is a simple command line based todo list editor. Here are the commands:
6
6
 
7
- see the first n items on the list (default 5)
7
+ see the first n items on the list (default all):
8
8
 
9
9
  ```
10
+ rudo 5
10
11
  rudo
11
12
  ```
12
13
 
13
- add a task to the list
14
+ add a task to the list:
14
15
 
15
16
  ```
16
17
  rad 'my task'
17
18
  ```
18
19
 
19
- add a task to the 2nd position
20
+ add a task to the 2nd position:
20
21
 
21
22
  ```
22
23
  rad 'another task' 2
23
24
  ```
24
25
 
25
- mark the first task finished
26
+ mark the first task finished:
26
27
 
27
28
  ```
28
29
  dun
29
30
  ```
30
31
 
31
- mark the 5th task finished
32
+ mark the 5th task finished:
32
33
 
33
34
  ```
34
35
  dun 5
35
36
  ```
36
37
 
37
- mark the first 3 tasks finished
38
+ mark the first 3 tasks finished:
38
39
 
39
40
  ```
40
41
  dun 3x
41
42
  ```
42
43
 
43
- move the first item to the back of the list
44
+ move the first item to the back of the list:
44
45
 
45
46
  ```
46
47
  walk
47
48
  ```
48
49
 
49
- move the first 3 items to the back of the list
50
+ move the first 3 items to the back of the list:
50
51
 
51
52
  ```
52
53
  walk 3
data/bin/dun CHANGED
@@ -7,6 +7,6 @@ options = Trollop::options do
7
7
  opt :color, "Print with colors", :default => true
8
8
  end
9
9
 
10
- r = Rudo.new(options)
11
- r.remove(ARGV[0])
12
- puts r
10
+ list = Rudo.new(options)
11
+ list.remove(ARGV[0])
12
+ puts list
data/bin/rad CHANGED
@@ -13,6 +13,6 @@ rescue
13
13
  position = 0
14
14
  end
15
15
 
16
- r = Rudo.new(options)
17
- r.add(ARGV[0], position)
18
- puts r
16
+ list = Rudo.new(options)
17
+ list.add(ARGV[0], position)
18
+ puts list
data/bin/rudo CHANGED
@@ -7,5 +7,5 @@ options = Trollop::options do
7
7
  opt :color, "Print with colors", :default => true
8
8
  end
9
9
 
10
- r = Rudo.new(options)
11
- puts r
10
+ list = Rudo.new(options)
11
+ puts list
data/bin/walk CHANGED
@@ -9,6 +9,6 @@ end
9
9
 
10
10
  steps = ARGV[0] ? Integer(ARGV[0]) : 1
11
11
 
12
- r = Rudo.new(options)
13
- r.walk(steps)
14
- puts r
12
+ list = Rudo.new(options)
13
+ list.walk(steps)
14
+ puts list
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.00
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: