Vixen
02b45cc4
csharp
public static class VixenCommand

The vixen command line.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Every command takes its writers rather than reaching for Console, so the tests drive the same parser a person does and read what it said. A CLI whose behaviour can only be checked by running a process is one whose behaviour is not checked.

new, run and build are missing rather than stubbed. They are the three that need something that does not exist yet: new needs the Vixen.Sdk package layout to scaffold against, and build and run wrap dotnet publish of a game project, which is doc 17's shipping story. A verb that parses and then apologises is worse than one that is not there, because a build script can only discover the second kind.

Methods (1)

  • public static RootCommand Create(TextWriter? output = null, TextWriter? error = null)

    Builds the command line.

Used by (1)

  • VixenCommandTestsVixen.Cli.Tests