Files

579 lines
15 KiB
JSON

{
"command" : {
"abstract" : "Calculate descriptive statistics.",
"arguments" : [
{
"abstract" : "Show the version.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "version"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "version"
},
"shouldDisplay" : true,
"valueName" : "version"
},
{
"abstract" : "Show help information.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "short",
"name" : "h"
},
{
"kind" : "long",
"name" : "help"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "help"
},
"shouldDisplay" : true,
"valueName" : "help"
}
],
"commandName" : "stats",
"shouldDisplay" : true,
"subcommands" : [
{
"abstract" : "Print the average of the values.",
"aliases" : [
"avg"
],
"arguments" : [
{
"abstract" : "The kind of average to provide.",
"allValues" : [
"mean",
"median",
"mode"
],
"completionKind" : {
"list" : {
"values" : [
"mean",
"median",
"mode"
]
}
},
"defaultValue" : "mean",
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "kind"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "kind"
},
"shouldDisplay" : true,
"valueName" : "kind"
},
{
"abstract" : "A group of floating-point values to operate on.",
"isOptional" : true,
"isRepeating" : true,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "values"
},
{
"abstract" : "Show the version.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "version"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "version"
},
"shouldDisplay" : true,
"valueName" : "version"
},
{
"abstract" : "Show help information.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "short",
"name" : "h"
},
{
"kind" : "long",
"name" : "help"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "help"
},
"shouldDisplay" : true,
"valueName" : "help"
}
],
"commandName" : "average",
"shouldDisplay" : true,
"superCommands" : [
"math",
"stats"
]
},
{
"abstract" : "Print the standard deviation of the values.",
"arguments" : [
{
"abstract" : "A group of floating-point values to operate on.",
"isOptional" : true,
"isRepeating" : true,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "values"
},
{
"abstract" : "Show the version.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "version"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "version"
},
"shouldDisplay" : true,
"valueName" : "version"
},
{
"abstract" : "Show help information.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "short",
"name" : "h"
},
{
"kind" : "long",
"name" : "help"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "help"
},
"shouldDisplay" : true,
"valueName" : "help"
}
],
"commandName" : "stdev",
"shouldDisplay" : true,
"superCommands" : [
"math",
"stats"
]
},
{
"abstract" : "Print the quantiles of the values (TBD).",
"arguments" : [
{
"completionKind" : {
"list" : {
"values" : [
"alphabet",
"alligator",
"branch",
"braggart"
]
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "one-of-four"
},
{
"completionKind" : {
"custom" : {
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "custom-arg"
},
{
"completionKind" : {
"customDeprecated" : {
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "custom-deprecated-arg"
},
{
"abstract" : "A group of floating-point values to operate on.",
"isOptional" : true,
"isRepeating" : true,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "values"
},
{
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "test-success-exit-code"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "test-success-exit-code"
},
"shouldDisplay" : false,
"valueName" : "test-success-exit-code"
},
{
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "test-failure-exit-code"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "test-failure-exit-code"
},
"shouldDisplay" : false,
"valueName" : "test-failure-exit-code"
},
{
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "test-validation-exit-code"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "test-validation-exit-code"
},
"shouldDisplay" : false,
"valueName" : "test-validation-exit-code"
},
{
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "test-custom-exit-code"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "test-custom-exit-code"
},
"shouldDisplay" : false,
"valueName" : "test-custom-exit-code"
},
{
"completionKind" : {
"file" : {
"extensions" : [
"txt",
"md"
]
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "file"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "file"
},
"shouldDisplay" : true,
"valueName" : "file"
},
{
"completionKind" : {
"directory" : {
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "directory"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "directory"
},
"shouldDisplay" : true,
"valueName" : "directory"
},
{
"completionKind" : {
"shellCommand" : {
"command" : "head -100 '\/usr\/share\/dict\/words' | tail -50"
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "shell"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "shell"
},
"shouldDisplay" : true,
"valueName" : "shell"
},
{
"completionKind" : {
"custom" : {
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "custom"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "custom"
},
"shouldDisplay" : true,
"valueName" : "custom"
},
{
"completionKind" : {
"customDeprecated" : {
}
},
"isOptional" : true,
"isRepeating" : false,
"kind" : "option",
"names" : [
{
"kind" : "long",
"name" : "custom-deprecated"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "custom-deprecated"
},
"shouldDisplay" : true,
"valueName" : "custom-deprecated"
},
{
"abstract" : "Show the version.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "version"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "version"
},
"shouldDisplay" : true,
"valueName" : "version"
},
{
"abstract" : "Show help information.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "short",
"name" : "h"
},
{
"kind" : "long",
"name" : "help"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "help"
},
"shouldDisplay" : true,
"valueName" : "help"
}
],
"commandName" : "quantiles",
"shouldDisplay" : true,
"superCommands" : [
"math",
"stats"
]
},
{
"abstract" : "Show subcommand help information.",
"arguments" : [
{
"isOptional" : true,
"isRepeating" : true,
"kind" : "positional",
"parsingStrategy" : "default",
"shouldDisplay" : true,
"valueName" : "subcommands"
},
{
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "short",
"name" : "h"
},
{
"kind" : "long",
"name" : "help"
},
{
"kind" : "longWithSingleDash",
"name" : "help"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "help"
},
"shouldDisplay" : false,
"valueName" : "help"
},
{
"abstract" : "Show the version.",
"isOptional" : true,
"isRepeating" : false,
"kind" : "flag",
"names" : [
{
"kind" : "long",
"name" : "version"
}
],
"parsingStrategy" : "default",
"preferredName" : {
"kind" : "long",
"name" : "version"
},
"shouldDisplay" : true,
"valueName" : "version"
}
],
"commandName" : "help",
"shouldDisplay" : true,
"superCommands" : [
"math",
"stats"
]
}
],
"superCommands" : [
"math"
]
},
"serializationVersion" : 0
}