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 CHANGED
@@ -17,7 +17,7 @@ require "slimtimercli/version"
17
17
  module Slimtimercli
18
18
  module Helper
19
19
  def login
20
- config = Helper::load_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 create_task my_shiny_task
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 start my_shiny_task
153
+ slimtimer -s my_shiny_task
154
154
 
155
155
  When you finished working on a task, you can call
156
156
 
157
- slimtimer end
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 tasks
162
+ slimtimer -t
163
163
 
164
164
  To show all your tasks available.
165
165
  HELP
@@ -2,7 +2,7 @@ module Slimtimercli #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slimtimercli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Grund