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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6548ef2dc5d0749d46b22a6efa32862a394dc92
4
- data.tar.gz: f0c93fbc9490a2e9edb909b022efa775828120eb
3
+ metadata.gz: 9cc190984312a457dc4a988642eace24f1483556
4
+ data.tar.gz: a51b5b429de5a9fc5e12c94e28685f81b6a61a39
5
5
  SHA512:
6
- metadata.gz: c75506ae3edd3e8593ed1c679a82581ce450dd7073357a9f5e65e0fcac6029392fd6b9a2b0a2869716d2ccf98733ff9169ed730bbfb37680a97992b5c79ff6b7
7
- data.tar.gz: c10a01dbb04a7f1f9610211c5c1c6afb8cc93bb9850d2cac0abf0ab09dffe2f3be2191aca76f3ef8ae8ea91164ab6ac2d915de03a09ea1faac3bd7499187a161
6
+ metadata.gz: baad278f9a7b0220a789ba0580c50787c11a5609f0334b1d300106a53827c99aa829a5a470b50429a718917fad84741fdc4a626873409952e5d29ae39949bbe0
7
+ data.tar.gz: c67a376c96f6c91d8aa896071da68636adbf3642af0c09c76446465c259988fb1822ac6e62a9e6d31cb74c7464175b08191831c84a67f7820e48b824f1520c26
data/README.md CHANGED
@@ -1,7 +1,53 @@
1
- #### Hbtrack
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hbtrack
4
- VERSION = '0.0.0'
4
+ VERSION = '0.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hbtrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kw7oe