Skip to content

Commit e497b5d

Browse files
committed
Add ordered CLI option.
1 parent 8296c4a commit e497b5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/json/ld/writer.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ def self.options
111111
control: :checkbox,
112112
on: ["--[no-]omitDefault"],
113113
description: "Omit missing properties from output (false)") {|arg| arg},
114+
RDF::CLI::Option.new(
115+
symbol: :ordered,
116+
datatype: TrueClass,
117+
control: :checkbox,
118+
on: ["--[no-]ordered"],
119+
description: "Order object member processing lexographically.") {|arg| arg},
114120
RDF::CLI::Option.new(
115121
symbol: :processingMode,
116122
datatype: %w(json-ld-1.0 json-ld-1.1),

0 commit comments

Comments
 (0)