2
3
4
5
6
7
8
9
10
11
|
# File 'lib/brief/cli/01_extensions.rb', line 2
def action(*args, &block)
Brief.default_cli_options(self)
when_called do |args, options|
options.default(root: Brief.pwd)
Brief.case = Brief::Briefcase.new(root: Pathname(options.root))
block.call(args, options)
end
end
|