Skip to content

Commit 9f69025

Browse files
committed
Pass CLI output option to executed commands.
1 parent 78e5b79 commit 9f69025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def self.exec(args, output: $stdout, option_parser: self.options, **options)
375375

376376
# Run each command in sequence
377377
cmds.each do |command|
378-
COMMANDS[command.to_sym][:lambda].call(args, options)
378+
COMMANDS[command.to_sym][:lambda].call(args, output: output, **options)
379379
end
380380
rescue ArgumentError => e
381381
abort e.message

0 commit comments

Comments
 (0)