hbtrack 0.0.0 → 0.0.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.
- checksums.yaml +4 -4
- data/README.md +50 -4
- data/lib/hbtrack/habit_tracker.rb +3 -2
- data/lib/hbtrack/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cc190984312a457dc4a988642eace24f1483556
|
4
|
+
data.tar.gz: a51b5b429de5a9fc5e12c94e28685f81b6a61a39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baad278f9a7b0220a789ba0580c50787c11a5609f0334b1d300106a53827c99aa829a5a470b50429a718917fad84741fdc4a626873409952e5d29ae39949bbe0
|
7
|
+
data.tar.gz: c67a376c96f6c91d8aa896071da68636adbf3642af0c09c76446465c259988fb1822ac6e62a9e6d31cb74c7464175b08191831c84a67f7820e48b824f1520c26
|
data/README.md
CHANGED
@@ -1,7 +1,53 @@
|
|
1
|
-
|
1
|
+
## Hbtrack
|
2
|
+
|
3
|
+
`hbtrack` is a simple Command Lines tool to keep track of your daily habits. The functionality of the current version is very limited.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```
|
8
|
+
gem install hbtrack
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
To add a new habit _(duplicate name will be ignore)_:
|
14
|
+
```
|
15
|
+
hbtrack add habit_name
|
16
|
+
```
|
17
|
+
|
18
|
+
To mark your habit as done for the current day:
|
19
|
+
```
|
20
|
+
hbtrack done habit_name
|
21
|
+
```
|
22
|
+
|
23
|
+
To mark your habit as undone for the current day:
|
24
|
+
```
|
25
|
+
hbtrack undone habit_name
|
26
|
+
```
|
27
|
+
|
28
|
+
You can also mark your habit done/undone for the previous day by adding `-y` option:
|
29
|
+
```
|
30
|
+
hbtrack done/undone -y habit_name
|
31
|
+
```
|
32
|
+
|
33
|
+
To remove the habit completely:
|
34
|
+
```
|
35
|
+
hbtrack remove habit_name
|
36
|
+
```
|
37
|
+
|
38
|
+
To have a look of all of your habit progress:
|
39
|
+
```
|
40
|
+
hbtrack list
|
41
|
+
```
|
42
|
+
|
43
|
+
To look at individual habit progress:
|
44
|
+
```
|
45
|
+
hbtrack list habit_name
|
46
|
+
```
|
47
|
+
|
48
|
+
## Bugs/Features
|
49
|
+
If there are any bugs/feature requesst, feel free to create a new issues.
|
50
|
+
|
2
51
|
|
3
|
-
TODO: Add intro
|
4
52
|
|
5
|
-
#### Installation
|
6
53
|
|
7
|
-
TODO
|
@@ -14,8 +14,9 @@ module Hbtrack
|
|
14
14
|
def self.help # Refactoring needed
|
15
15
|
puts 'usage: hbtrack list [ habit_name ]'
|
16
16
|
puts ' hbtrack add habit_name'
|
17
|
-
puts ' hbtrack done habit_name'
|
18
|
-
puts ' hbtrack undone habit_name'
|
17
|
+
puts ' hbtrack done [-y] habit_name'
|
18
|
+
puts ' hbtrack undone [-y] habit_name'
|
19
|
+
puts ' hbtrack remove habit_name'
|
19
20
|
end
|
20
21
|
|
21
22
|
def initialize(file = Hbtrack::FILE_NAME,
|
data/lib/hbtrack/version.rb
CHANGED