Exemplo n.º 1
0
        /// <inheritdoc/>
        public void Perform()
        {
            AssemblyName asm = Assembly.GetExecutingAssembly().GetName();

            HoneycombConsole.WriteInfoLine($"name: {asm.Name}");
            HoneycombConsole.WriteInfoLine($"version: {asm.Version}");
            HoneycombConsole.WriteInfoLine($"url: {GitInfo.GetAddress()}");
            HoneycombConsole.WriteInfoLine($"branch: {GitInfo.GetBranch()}");
            HoneycombConsole.WriteInfoLine($"commit: {GitInfo.GetCommit()}");
        }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public void Perform()
        {
            HoneycombConsole.WriteInfoLine("Usage: 'honeycomb <target>'");
            HoneycombConsole.WriteInfoLine("Optionally a user can specify multiple targets to be executed in succession: 'honeycomb <target1> <target2> ...'");
            HoneycombConsole.WriteNewline();
            HoneycombConsole.WriteInfoLine("### Available Targets:");

            foreach (ITarget target in TargetCollection.AsEnumerable())
            {
                HoneycombConsole.WriteInfoLine($"{target.Name} - {target.Description}");
            }
        }