class NewFeatureBranchOptions
Public Instance Methods
empty_argv_ok?()
click to toggle source
# File bin/git-new-fb, line 22 def empty_argv_ok? false end
extend_opts(parser)
click to toggle source
# File bin/git-new-fb, line 27 def extend_opts(parser) parser.opt :local, "Do not do a fetch first if there is a remote defined", :short => :l, :default => false end
post_parse(opts, argv)
click to toggle source
# File bin/git-new-fb, line 32 def post_parse(opts, argv) opts[:branch_name] = argv.shift end
usage(filename)
click to toggle source
# File bin/git-new-fb, line 17 def usage(filename) "#{filename} [options] branch_name" end