lib/ppl/command/init.rb in ppl-1.5.2 vs lib/ppl/command/init.rb in ppl-1.5.3
- old
+ new
@@ -1,11 +1,9 @@
class Ppl::Command::Init < Ppl::Application::Command
- def initialize
- @name = "init"
- @description = "Create an empty address book"
- end
+ name "init"
+ description "Create an empty address book"
def options(parser, options)
parser.banner = "usage: ppl init [directory]"
end