slimtimercli 0.1.3 → 0.1.4
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.
- data/lib/slimtimercli.rb +6 -6
- data/lib/slimtimercli/version.rb +1 -1
- metadata +1 -1
data/lib/slimtimercli.rb
CHANGED
@@ -17,7 +17,7 @@ require "slimtimercli/version"
|
|
17
17
|
module Slimtimercli
|
18
18
|
module Helper
|
19
19
|
def login
|
20
|
-
config =
|
20
|
+
config = load_config
|
21
21
|
st = SlimTimer.new(config["email"], config["password"],
|
22
22
|
config["api_key"])
|
23
23
|
st.login
|
@@ -138,7 +138,7 @@ with the following steps:
|
|
138
138
|
|
139
139
|
The first time you need to setup SlimTimer CLI with
|
140
140
|
|
141
|
-
slimtimer setup
|
141
|
+
slimtimer --setup
|
142
142
|
|
143
143
|
Now it will ask for your email and password and API key
|
144
144
|
to use with your account. These information will be stored
|
@@ -146,20 +146,20 @@ in ~/.slimtimer/config.yml
|
|
146
146
|
|
147
147
|
To create a task run
|
148
148
|
|
149
|
-
slimtimer
|
149
|
+
slimtimer -c my_shiny_task
|
150
150
|
|
151
151
|
To spend some time on the task you have to make the timer run
|
152
152
|
|
153
|
-
slimtimer
|
153
|
+
slimtimer -s my_shiny_task
|
154
154
|
|
155
155
|
When you finished working on a task, you can call
|
156
156
|
|
157
|
-
slimtimer
|
157
|
+
slimtimer -e
|
158
158
|
|
159
159
|
This will write the time spend back to SlimTimer.com.
|
160
160
|
Finally you can run
|
161
161
|
|
162
|
-
slimtimer
|
162
|
+
slimtimer -t
|
163
163
|
|
164
164
|
To show all your tasks available.
|
165
165
|
HELP
|
data/lib/slimtimercli/version.rb
CHANGED