blob: a4f6120070b19c39b46e49272bd622929101fe88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
## 0.4.0 / 2020-01-18
### Major Enhancements
* Drop Ruby 2.3 support
### Minor Enhancements
* Remove parent command's flags from subcommand usage (#44)
### Development Fixes
* Adopt Jekyll's rubocop config for consistency
### Documentation
* fixes the readme (#52)
## 0.3.6 / 2016-04-07
### Bug Fixes
* Presenter: Options should include those from parent command (#42)
## 0.3.5 / 2014-11-12
### Bug Fixes
* Capture `OptionsParser::InvalidOption` and show a nice error message (#38)
* Absolute paths for requires and autoloads (#39)
### Development Fixes
* Bump to RSpec 3 (#40)
## 0.3.4 / 2014-07-11
### Bug Fixes
* Use option object as key in the command's `@map` hash (#35)
## 0.3.3 / 2014-05-07
### Bug Fixes
* The `--version` flag should not exit with code 1, but instead code 0. (#33)
## 0.3.2 / 2014-03-18
### Bug Fixes
* Remove duplicate commands from help output; show aliases w/command names (#29)
## 0.3.1 / 2014-02-21
### Minor Enhancements
* Add `-t/--trace` to list of options in help message (#19)
### Bug Fixes
* `Mercenary::Option` now accepts return values in the form of Class constants (#22)
## 0.3.0 / 2014-02-20
### Major Enhancements
* Officially drop 1.8.7 support (#14)
* Allow Commands to set their own versions (#17)
* Show subcommands, options and usage in help and attach to all commands (#18)
* Add `-t, --trace` to allow full exception backtrace to print, otherwise print just the error message (#19)
### Minor Enhancements
* Logging state is maintained throughout process (#12)
* Tidy up Command#logger output (#21)
### Development Fixes
* Added specs for `Program` (#13)
## 0.2.1 / 2013-12-25
### Bug Fixes
* Added missing comma to fix '-v' and '--version' options (#9)
## 0.2.0 / 2013-11-30
### Major Enhancements
* Add `Command#default_command` to specify a default command if none is given by the user at runtime (#7)
### Minor Enhancements
* Add `Command#execute` to execute the actions of a command (#6)
### Development Fixes
* Add standard GitHub bootstrap and cibuild scripts to `script/` (#2)
## 0.1.0 / 2013-11-08
### Major Enhancements
* It works!
### Minor Enhancements
* Add a logger to `Command`
* Add `--version` switch to all programs
### Bug Fixes
* Fix `Command#syntax` and `Command#description`'s handing of setting vs getting
* Fix load path problem in `lib/mercenary.rb`
### Development Fixes
* Add TomDoc to everything
* Add a couple starter specs
* Add TravisCI badge
* Add Travis configuration
## 0.0.1 / 2013-11-06
* Birthday!
|