public void when_second_argument_is_help_or_h_help_should_be_true() { var nullParams = new NullParams(new string[] { "create-app", "--help" }); nullParams.Help.Should().Be.True(); var createAppParams = new CreateAppParams(new string[] { "create-app", "-h" }); createAppParams.Help.Should().Be.True(); }
public void first_argument_should_be_use_as_the_generator_name() { var nullParams = new NullParams(new string[] {"create-app", "my-app"}); nullParams.Generator.Should().Be.EqualTo("create-app"); }