Aiursoft.CommandFramework 7.0.11

Aiursoft CommandFramework

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.CommandFramework) ManHours

Aiursoft CommandFramework is a framework for building command line tools.

  • Auto argument parsing
  • Auto help page generation
  • Auto version page generation

With this framework, you can build a command line tool with just a few lines of code.

Example project it built:

C:\workspace> ninja.exe

Description:
  Nuget Ninja, a tool for detecting dependencies of .NET projects.

Usage:
  Microsoft.NugetNinja [command] [options]

Options:
  -p, --path <path> (REQUIRED)   Path of the projects to be changed.
  --nuget-server <nuget-server>  If you want to use a customized nuget server instead of the official nuget.org, 
  --token <token>                The PAT token which has privilege to access the nuget server.
  -d, --dry-run                  Preview changes without actually making them
  -v, --verbose                  Show detailed log
  -?, -h, --help                 Show help and usage information

Commands:
  all, all-officials  The command to run all officially supported features.
  remove-deprecated   The command to replace all deprecated packages to new packages.
  upgrade-pkg         The command to upgrade all package references to possible latest and avoid conflicts.
  clean-pkg           The command to clean up possible useless package references.
  clean-prj           The command to clean up possible useless project references.

Why this project?

Command-line applications are a great way to automate repetitive tasks or even to be your own productivity tool. But building a command-line application in .NET is not easy. You need to parse the arguments, generate help pages, and so on. This project is designed to help you build a command-line application with just a few lines of code.

Installation

Run the following command to install Aiursoft.CommandFramework to your project from nuget.org:

To use it, you need to decide between:

Download a real sample project

If you want to explore a real project built with this framework, please check Happy Recorder as an example.

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Showing the top 20 packages that depend on Aiursoft.CommandFramework.

Packages Downloads
Aiursoft.Dotlang.Core
Package Description
7
Anduin.HappyRecorder.PluginFramework
Package Description
4
Aiursoft.NiBot.Dedup
Nuget package of 'Dedup' provided by Aiursoft
0

.NET 7.0

Version Downloads Last updated
8.0.6 90 10/09/2024
8.0.5 10 10/07/2024
8.0.4 165 07/09/2024
8.0.3 40 06/28/2024
8.0.2 12 06/27/2024
8.0.1 194 03/25/2024
8.0.0 3 03/26/2024
7.0.25 6 04/26/2024
7.0.24 5 04/26/2024
7.0.23 5 04/06/2024
7.0.22 3 04/26/2024
7.0.21 4 04/26/2024
7.0.20 4 04/26/2024
7.0.19 4 04/26/2024
7.0.18 4 04/26/2024
7.0.17 4 04/26/2024
7.0.16 7 04/26/2024
7.0.15 3 04/26/2024
7.0.14 4 04/26/2024
7.0.13 3 04/26/2024
7.0.12 4 04/26/2024
7.0.11 6 04/26/2024
7.0.10 5 04/26/2024
7.0.9 5 04/26/2024
7.0.8 4 04/26/2024
7.0.7 3 04/26/2024
7.0.6 3 04/26/2024
7.0.5 4 04/26/2024
7.0.4 6 04/26/2024
7.0.3 4 04/19/2024
7.0.2 4 04/26/2024
7.0.1 3 04/26/2024
7.0.0 6 04/26/2024
6.0.0 4 04/26/2024
1.0.0 4 04/26/2024