Air-CLI-Tools
1.0.3
dotnet tool install --global Air-CLI-Tools --version 1.0.3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Air-CLI-Tools --version 1.0.3
#tool dotnet:?package=Air-CLI-Tools&version=1.0.3
nuke :add-package Air-CLI-Tools --version 1.0.3
Air CLI Tool
Overview
Air CLI Tool is a command-line interface (CLI) tool designed to streamline the process of code generation for various actions, including creating determinations, actions, and validations. This tool enhances developer productivity by automating the boilerplate code creation, allowing developers to focus more on business logic and less on repetitive tasks.
Key Features
- Quickly generate code for determinations, actions, and validations.
- Interactive CLI for easy and intuitive use.
- Supports customization with user-defined class names and node types.
- Improves consistency in code structure and style.
How It Works
User Input: The tool prompts users to enter the desired action (Create Determination, Create Action, or Create Validation) and relevant details.
Code Generation: Based on the user input, the Air CLI Tool generates C# code templates using predefined templates for each action type.
Placeholder Integration: The generated code includes placeholders for class names, node types, and business document types.
Customization: Users can easily customize the generated code to fit their specific requirements.
Validation: When creating a validation, the tool follows these steps:
- Users provide input such as the validation name, input parameters, and conditions.
- The tool generates a C# validation class template with placeholders for customization.
- Users can customize the generated code to implement the specific validation logic based on their requirements.
- During runtime, the validation classes are invoked, and the user-defined validation logic is executed to validate data or conditions.
Getting Started
Prerequisites
Project solution named AIR and an assembly called Air.Airboard
.NET 6.0 SDK
Installation
Note: Since this tool is a .NET command-line tool, it cannot be installed using NuGet Manager. Please use the CLI terminal to install the tool.
dotnet tool install -g Air-CLI-Tools --version 1.0.0
Usage
air_cli_tool
Follow the prompts to create determinations, actions, and validations.
License
MIT
Author
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.3 | 913 | 1/24/2024 |