Exemple #1
0
    public GitCommand()
        : base("git", CliOutput.Help_GitCommand_Description)
    {
        var clone = new GitCloneCommand();

        AddCommand(clone);

        var checkoutHistoryCommand = new CheckoutHistoryCommand();

        AddCommand(checkoutHistoryCommand);

        var computeHistoryCommand = new ComputeHistoryCommand();

        AddCommand(computeHistoryCommand);
    }
    public void Verify_git_clone_configuration()
    {
        var gitCloneCommand = new GitCloneCommand();

        gitCloneCommand.Handler.Should().NotBeNull();
    }