dude-cli 0.5.0 → 0.5.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 +19 -8
- data/dude.gemspec +2 -2
- data/lib/dude/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4270eb64a734359b48c218c27768114699b4f6503950f2518ea8cef83ab85ee1
|
4
|
+
data.tar.gz: 169d11560d300e684b0f1692fc3b74ee5caac3e861d1a28174ebcf4599b61cdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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` -
|
39
|
+
`HOURS_PER_DAY=8` - Working hours per day
|
38
40
|
|
39
|
-
`HOURS_PER_WEEK=40` -
|
41
|
+
`HOURS_PER_WEEK=40` - Working hours per week
|
40
42
|
|
41
43
|
## Usage
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
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
|
-
|
58
|
+
You also can use `dude help` for short description of every command.
|
48
59
|
|
49
|
-
|
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{
|
11
|
-
spec.description = %q{
|
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
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.
|
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:
|
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:
|
192
|
+
summary: A daily assistant in the hard work of a programmer.
|
192
193
|
test_files: []
|