Skip to content
Snippets Groups Projects
Commit 5792483c authored by Paul Nitzke's avatar Paul Nitzke
Browse files

Merge branch 'cli-shorthands' into 'master'

Add shorthands for CLI options

See merge request !20
parents e885384e 3086f287
No related branches found
No related tags found
1 merge request!20Add shorthands for CLI options
......@@ -7,10 +7,10 @@ namespace CLIOptions;
[Verb("convert", HelpText = "Convert MatrixMarket String to Dot String")]
public class ConvertOptions
{
[Option("input", Required = true, HelpText = "Path to the file containing the MatrixMarket string to read.")]
[Option('i', "input", Required = true, HelpText = "Path to the file containing the MatrixMarket string to read.")]
public String Input{ get; set; }
[Option("output", Required = true, HelpText = "Path to the file the output should be written to.")]
[Option('o', "output", Required = true, HelpText = "Path to the file the output should be written to.")]
public String Output{ get; set; }
}
\ No newline at end of file
......@@ -7,13 +7,13 @@ namespace CLIOptions;
[Verb("partition", HelpText = "Partitions MatrixMarket String")]
public class PartitionOptions
{
[Option("input", Required = true, HelpText = "Path to the file containing the MatrixMarket string to read.")]
[Option('i', "input", Required = true, HelpText = "Path to the file containing the MatrixMarket string to read.")]
public String Input { get; set; }
[Option("output", Required = true, HelpText = "Path to the file the output should be written to.")]
[Option('o', "output", Required = true, HelpText = "Path to the file the output should be written to.")]
public String Output { get; set; }
[Option("format", Required = true, HelpText = "Format to output as after partitioning. Can be 'dot', 'seed', or 'compressed'.")]
[Option('f', "format", Required = true, HelpText = "Format to output as after partitioning. Can be 'dot', 'seed', or 'compressed'.")]
public String Format { get; set; }
[Option("textColor", Default = false, HelpText = "Set to true to additionally output the color information as a text label. Default: false")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment