β²οΈCommand Switch Management
We need to manage your command switches
{ "edit",
new CommandInfo("edit", /* Localizable */ "Edits a file",
new[] {
new CommandArgumentInfo(new[]
{
new CommandArgumentPart(true, "file"),
}, new[] {
new SwitchInfo("text", /* Localizable */ "Forces text mode", false, false, new string[] { "hex", "json", "sql" }, 0, false),
new SwitchInfo("hex", /* Localizable */ "Forces hex mode", false, false, new string[] { "text", "json", "sql" }, 0, false),
new SwitchInfo("json", /* Localizable */ "Forces JSON mode", false, false, new string[] { "text", "hex", "sql" }, 0, false),
new SwitchInfo("sql", /* Localizable */ "Forces SQL mode", false, false, new string[] { "text", "hex", "json" }, 0, false),
})
}, new EditCommand())
},Last updated