twkb 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +77 -0
  2. data/lib/twkb/version.rb +1 -1
  3. data/twkb.gemspec +3 -5
  4. metadata +5 -4
data/README.md ADDED
@@ -0,0 +1,77 @@
1
+ # TWKB (TaskWarriorKanbanBoard)
2
+
3
+ TWKB is a wrapper around [TaskWarrior](http://taskwarrior.org/projects/show/taskwarrior) that displays CLI kanban boards.
4
+
5
+ ## Installation
6
+
7
+ ```
8
+ gem install twkb
9
+ ```
10
+
11
+ ## Getting started
12
+ ### Setting up a board
13
+ TWKB uses the UDA feature of TaskWarrior to display boards. The UDA used is 'board'. So make sure you have configured that UDA in your .taskrc:
14
+
15
+ ```
16
+ uda.board.type=String
17
+ uda.board.label=Board
18
+ ```
19
+
20
+ Next, make sure your tasks for the given board is tagged with the boardname you desire. The default board displayed is 'personal'. This can be done using task, e.g.: `task 1 modify board:work`.
21
+
22
+ ### Setting up stages
23
+ A board consists of stages (columns in a table). The default stages are: backlog,next,inprogress, and waiting.
24
+
25
+ Lanes are also configured using UDA, using the 'stage' attribute, like so: `task add board:personal stage:backlog Do laundry`.
26
+
27
+ Again, remember to add the UDA to .taskrc:
28
+
29
+ ```
30
+ uda.stage.type=string
31
+ uda.stage.label=Stage
32
+ uda.stage.values=backlog,next,inprogress,waiting
33
+ ```
34
+
35
+ #### The 'Done' stage
36
+ A 'done' stage is automatically added, including the five most recent completed tasks.
37
+
38
+ ### Displaying the board
39
+ Simply run `twkb` to display the default board (which is "personal"). You can specify an alternative board name as the first argument: `twkb work`.
40
+
41
+ That should get you started using twkb.
42
+
43
+ ## Configuration
44
+ You can configure twkb using settings in .taskrc.
45
+
46
+ ### twkb.view.cell_width (default '15')
47
+ Controls the width of each cell in the displayed table.
48
+
49
+ ### twkb.view.stages.alignment (default 'center')
50
+ Controls the alignment of the headers of the table. See https://github.com/visionmedia/terminal-table#alignment.
51
+
52
+ ### twkb.view.done_tasks (default '5')
53
+ Controls the number of tasks displayed in the 'Done' stage.
54
+
55
+ ### twkb.stages (default 'backlog,next,inprogress,waiting,done')
56
+ Sets the stages shown in your boards.
57
+
58
+ ### wkb.stages.<stage_name>.wip (default depends on stage)
59
+ The WIP limit of stage_name.
60
+
61
+ ### twkb.stages.<stage_name>.label.value (default depends on stage)
62
+ The label showed in the header of the stage_name column.
63
+
64
+ ## Author
65
+ Kim Nørgaard <jasen@jasen.dk>
66
+
67
+ ## License
68
+ (The MIT License)
69
+
70
+ Copyright © 2008-2009 TJ Holowaychuk <tj@vision-media.ca>
71
+
72
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, an d/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
73
+
74
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
75
+
76
+ THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
77
+
data/lib/twkb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TWKB
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
data/twkb.gemspec CHANGED
@@ -5,13 +5,11 @@ require "twkb/version"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'twkb'
7
7
  s.version = TWKB::VERSION
8
- s.date = '2013-05-01'
9
- s.summary = "TaskWarrior Kanban"
10
- s.description = "A command line utility based on task warrior to create kanban boards."
11
8
  s.authors = ["Kim Nørgaard"]
12
9
  s.email = 'jasen@jasen.dk'
13
- s.files = ["lib/twkb.rb"]
14
- s.homepage = ""
10
+ s.homepage = "https://github.com/KimNorgaard/twkb"
11
+ s.summary = "TaskWarrior Kanban"
12
+ s.description = "A command line utility based on task warrior to create kanban boards."
15
13
 
16
14
  s.add_runtime_dependency 'terminal-table', '~>1.4.5'
17
15
  s.add_runtime_dependency 'parseconfig', '~>1.0.2'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Kim N\xC3\xB8rgaard"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-05-01 00:00:00 +02:00
17
+ date: 2013-05-03 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -69,6 +69,7 @@ extra_rdoc_files: []
69
69
 
70
70
  files:
71
71
  - .rvmrc
72
+ - README.md
72
73
  - bin/twkb
73
74
  - lib/twkb.rb
74
75
  - lib/twkb/config.rb
@@ -77,7 +78,7 @@ files:
77
78
  - lib/twkb/version.rb
78
79
  - twkb.gemspec
79
80
  has_rdoc: true
80
- homepage: ""
81
+ homepage: https://github.com/KimNorgaard/twkb
81
82
  licenses: []
82
83
 
83
84
  post_install_message: