Skip to content

Positional parameters #54

@Matthiee

Description

@Matthiee

INFO

We should support positional arguments.

Example:

app.exe move "path/to/file" "move/to/path"

Where the move command contains

public class Model
{
     [OptionOrder(1)]
     public string SourcePath { get; set; }

     [OptionOrder(2)]
     public string MovePath { get; set; }
}

TODO

  • Add attribute support
  • Add Fluent API support
  • Add support in argument parser
  • Add Tests

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions