lib/eco/cli/config/default/options.rb in eco-helpers-2.0.60 vs lib/eco/cli/config/default/options.rb in eco-helpers-2.0.61
- old
+ new
@@ -38,9 +38,14 @@
options_set.add("-stdout", desc) do |options, session|
file = SCR.get_arg("-stdout", with_param: true) || "output.txt"
STDOUT.reopen(file, "w+")
end
+ desc = "Skips the check of the headers"
+ options_set.add("-skip-header-check", desc) do |options, session|
+ options.deep_merge!(input: {skip_header_check: true})
+ end
+
desc = "Fix the current session to work with this schema"
options_set.add("-schema-id", desc) do |options, session|
sch_name = SCR.get_arg("-schema-id", with_param: true)
sch_id = session.schemas.to_id(sch_name)