Skip to content

Command with parameter #26

Closed
Closed
@XVincentX

Description

@XVincentX

Hello,
I was wondering if fclp has got a command concept with per-command parameters.
Something like this:

SetupCommand("create")
.WithParam("initialUrl")
.Required()

SetupCommand("restore")
.WithParam("fromFile")
.Required()

And then use it in this way

myApp.exe create --initialUrl http://www.google.it
myApp.exe restore --fromFile C:\data.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions