haru.cli 0.5.0

dotnet tool install --global haru.cli --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local haru.cli --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=haru.cli&version=0.5.0
                    
nuke :add-package haru.cli --version 0.5.0
                    

Overview

Haru CLI is a minimal command-line utility designed specifically for scaffolding and managing the Haru API Template. It provides a simple, no-boilerplate approach to initializing projects and handling database migrations within the Haru ecosystem.

Installation

Haru CLI is distributed as a .NET Global Tool via NuGet.

Prerequisites

  • .NET 9.0 SDK

Verify your environment:

dotnet --version

Global Installation

To install Haru CLI on your system:

dotnet tool install --global haru.cli --version 0.5.0

Management

Update:

dotnet tool update --global haru.cli

Uninstall:

dotnet tool uninstall --global haru.cli


Commands

Run the base command to view all available options:

haru

Technical Specification:

Haru CLI v0.5.0
Usage: haru [command] [options]

Commands:
  install            Initialize system dependencies
  uninstall          Remove local configurations
  create <name>      Scaffold a new Haru API project
  migrate <name>     Generate a database migration
  update-db          Execute pending migrations


Quick Start

1. Create a Project

Generate a new instance of the Haru API:

haru create MyProjectName

2. Database Setup

Initialize and apply your first migration:

haru migrate InitialSetup
haru update-db


Deployment Notes

  • Platform Support: Windows, macOS, and Linux.
  • Framework: Built on .NET 9.0.
  • Path Configuration: Ensure your .NET tools directory is included in your system's PATH.

Development Rationale

Haru CLI is built to eliminate manual setup when using the Haru API Template. By using the .NET Global Tools distribution, it ensures that developers have a consistent, easy-to-update interface for project management without manual binary handling.


Maintainer

Haru CLI is developed and maintained by John Joshua Manalo Escarez (Haruki エスシ)

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.5.0 102 1/27/2026
0.4.0 89 1/27/2026
0.3.0 94 1/26/2026
0.2.0 93 1/25/2026
0.1.0 93 1/20/2026

Initial release. Supports project creation, EF Core migrations,
     and database updates.