PowerCommands / PowerCommands2022

PowerCommands is a create your own CLI application starter kit!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PowerCommands2022

You could se PowerCommands as an easy Create your CLI applikation starter kit. It is a structured framework for creating your own customized command prompt to perform simple or advanced task with the full control from your command environment. That means no time-consuming hassling with a GUI, try catch block, validate your input, you do not need to write a zilion test classes either. Just concentrate on the code, create your commands and run the Console applikation.

Follow progress on twitter drawing

The core components offering this to your custom PowerCommands

  • Logging (using Microsoft.Extensions.Logging.ILogger)
  • Process log (using the standard logger with tags to track a process)
  • Configuration with YAML (built to be very easy to extend)
  • Display your POCO:s easy with a nice Console Table display output
  • Simple to write test rules with attribute
  • Validation rules with attribute
  • Diagnostic
  • Secret handling to protect sensitive information like password or authentication tokens in the configuration file.
  • Command completion, with history, suggestions, options and support for Path/File navigation and color highlightning when typing a valid command
  • Progressbar
  • Download files
  • Password prompt
  • Run as job
  • Zip with attributes like checksum, filecount and file size
  • Describe your commands with code examples using attributes.

Alt text

Start your journey

Create a new VS Solution

Create a new Command

Commands development

Design your Command

Power Commands Design attribute

Command base class

Handling the Input

Using Options

Simple automated test

Output to the Console guidline

Core framework

PowerCommandsRuntime

Configuration and documentation

Basic application configuration

Extend your configuration

Configure your environment to use encrypt/decrypt secrets

Documentation index

Architecture

Design principles and guidlines

Customize your project

Implementations

Glitchfinder and KnowledgedDB

Links

10 design principles for delightful CLIs

About

PowerCommands is a create your own CLI application starter kit!

License:GNU General Public License v3.0


Languages

Language:C# 100.0%