dude-cli 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -8
  3. data/dude.gemspec +2 -2
  4. data/lib/dude/version.rb +1 -1
  5. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98ed50be4846a92dc016ee7f61ab6e12f13412d01262e8c6c597180e54d26bfd
4
- data.tar.gz: '00595bb336d907da0c26486317f6b30c9c8a23172708ba0bd345e422cf5a299b'
3
+ metadata.gz: 4270eb64a734359b48c218c27768114699b4f6503950f2518ea8cef83ab85ee1
4
+ data.tar.gz: 169d11560d300e684b0f1692fc3b74ee5caac3e861d1a28174ebcf4599b61cdf
5
5
  SHA512:
6
- metadata.gz: 1c353f3ea350b5686618af1708ff88436bfe9ae6b602c6f9ebf98e790a060737cf64b7afff1c5949cd68bbcae617a5350447f06563c204c3a597518a463eabbb
7
- data.tar.gz: d7c027e164d023ac3c23f18387101ceae3a2b29b728b50e49fd131aa14bd9be382e93ae1793e6706f83f123d230eef71726ccf82c94eeb702b33e0945efd22f5
6
+ metadata.gz: de4c347bb09d06a718b06376e5ee04f9267f2e468c67a224d7d137ca130b4e9155d5401a46abe75aea83f1c9b9083bbc9df3f25a605bfc23ef752cac6a687919
7
+ data.tar.gz: 188c44e15463fc2d8830ad0ba4e0e4bd673c2c73e5aad34b011532ac57d905338d70a6e5b2f42cbd096fce8a298fe8c422c43e070aa892d0fce9b8415ab65624
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A daily assistant in the hard work of a programmer
4
4
 
5
+ This program helps to combine such services as [Gitlab](https://gitlab.com), [Toggl](https://toggl.com) and replace most routine activities with one simple CLI utility.
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -34,21 +36,30 @@ And configure all variables in this file
34
36
 
35
37
  `GITLAB_TOKEN=imyiKqwsQBbn1zCMY2PJ` - Your Gitlab token (<https://gitlab.yoursite.com/profile/personal_access_tokens>)
36
38
 
37
- `HOURS_PER_DAY=8` - Work hours per day
39
+ `HOURS_PER_DAY=8` - Working hours per day
38
40
 
39
- `HOURS_PER_WEEK=40` - Work hours per week
41
+ `HOURS_PER_WEEK=40` - Working hours per week
40
42
 
41
43
  ## Usage
42
44
 
43
- All commands will be described here later, but how you can use `dude help` for short description of every command.
44
-
45
- <!-- TODO: Write usage instructions here -->
45
+ | Command | Required parameters | Optional parameters | Description |
46
+ |---------------|:-------------------:|:-------------------------------:|------------------------------------------------------------|
47
+ | dude install | - | - | Create .duderc file in your home directory |
48
+ | dude checkout | issue_id | project_title<sup>1</sup> | Checkout to branch with name "ID-issue-title" |
49
+ | dude track | issue_id | project_title<sup>1</sup> | Start time entry in Toggl with issue project, title and id |
50
+ | dude tasks | - | project_title<sup>1</sup> | Show issues in current project assigned to you |
51
+ | dude estimate | duration | issue_id<sup>2</sup>, project_title<sup>1</sup> | Estimate time for issue |
52
+ | dude stop | - | project_title<sup>1</sup> | Stop current time entry in Toggl, move issue to `To Do` |
53
+ | dude stats | - | - | Display your daily and weekly stats from Toggl |
54
+ | dude start | issue_id | project_title<sup>1</sup> | Do `checkout`, `track` and `move` actions |
55
+ | dude move | label | issue_id<sup>2</sup>, project_title<sup>1</sup> | Move issue to another column |
56
+ | dude version | - | - | Display gem version |
46
57
 
47
- <!-- ## Development -->
58
+ You also can use `dude help` for short description of every command.
48
59
 
49
- <!-- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. -->
60
+ <sup>1</sup>: You can not specify a `project_title` if the project folder name matches its name<br>
61
+ <sup>2</sup>: You can not specify `issue_id` if the correct name for the git branch is specified
50
62
 
51
- <!-- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). -->
52
63
 
53
64
  ## Contributing
54
65
 
data/dude.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Dude::VERSION
8
8
  spec.authors = ["Nikita Pupko"]
9
9
  spec.email = ["lazynick7@gmail.com"]
10
- spec.summary = %q{Daily assistant}
11
- spec.description = %q{A daily assistant in the hard work of a programmer}
10
+ spec.summary = %q{A daily assistant in the hard work of a programmer.}
11
+ spec.description = %q{This program helps to combine such services as Gitlab, Toggl and git and replace most routine activities with one simple CLI utility.}
12
12
  spec.homepage = "https://github.com/Random4405/dude"
13
13
  spec.license = "MIT"
14
14
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
data/lib/dude/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dude
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dude-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Pupko
@@ -136,7 +136,8 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '2.0'
139
- description: A daily assistant in the hard work of a programmer
139
+ description: This program helps to combine such services as Gitlab, Toggl and git
140
+ and replace most routine activities with one simple CLI utility.
140
141
  email:
141
142
  - lazynick7@gmail.com
142
143
  executables:
@@ -188,5 +189,5 @@ rubyforge_project:
188
189
  rubygems_version: 2.7.3
189
190
  signing_key:
190
191
  specification_version: 4
191
- summary: Daily assistant
192
+ summary: A daily assistant in the hard work of a programmer.
192
193
  test_files: []