lib/json/ld/writer.rb in json-ld-2.1.4 vs lib/json/ld/writer.rb in json-ld-2.1.5
- old
+ new
@@ -76,9 +76,14 @@
symbol: :compactArrays,
datatype: TrueClass,
on: ["--compact-arrays"],
description: "Replaces arrays with just one element with that element during compaction.") {true},
RDF::CLI::Option.new(
+ symbol: :compactToRelative,
+ datatype: TrueClass,
+ on: ["--compact-to-relative"],
+ description: "Creates document relative IRIs when compacting, if `true`, otherwise leaves expanded. Default is `true` use --no-compact-to-relative to disable.") {true},
+ RDF::CLI::Option.new(
symbol: :context,
datatype: RDF::URI,
on: ["--context CONTEXT"],
description: "Context to use when serializing. Constructed context for native serialization.") {|arg| RDF::URI(arg)},
RDF::CLI::Option.new(