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 when_second_argument_is_not_help_nor_h_help_should_be_false() { var createAppParams = new CreateAppParams(new string[] { "create-app", "h" }); createAppParams.Help.Should().Be.False(); }
public CreateAppGenerator(CreateAppParams createAppParams) { _createAppParams = createAppParams; }