Waiin.Raaghu.Cli 1.0.25

dotnet tool install --global Waiin.Raaghu.Cli --version 1.0.25
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 Waiin.Raaghu.Cli --version 1.0.25
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Waiin.Raaghu.Cli&version=1.0.25
nuke :add-package Waiin.Raaghu.Cli --version 1.0.25

Raaghu CLI

Raaghu CLI (Command Line Interface) is a command line tool to perform some common operations for Raaghu based solutions.

Installation

Raaghu CLI is a dotnet global tool. Install it using a command line window:

dotnet tool install -g Waiin.Raaghu.Cli
dotnet tool install --global Waiin.Raaghu.Cli

To update an existing installation:

dotnet tool update -g Waiin.Raaghu.Cli
dotnet tool update --global Waiin.Raaghu.Cli

Commands

Here, is the list of all available commands before explaining their details:

  • help: Shows help on the usage of the Raaghu CLI.
  • new: Generates a new solution based on the Raaghu.
  • generate-proxy: Generates client side proxies to use HTTP API endpoints.
  • create: create is used to generate different types of pages for managing data relationships.
  • sync: helps us to connect frontend to ABP backend microservices source code solution.
  • login: Authenticates on your computer with your raaghu.io username and password.
  • login --info: Shows the current user's login information.
  • logout: Logouts from your computer if you've authenticated before.

help

Shows basic usages of the Raaghu CLI.

Usage:

raaghu help 

Examples:

raaghu help        # Shows a general help.
raaghu help new    # Shows help about the "new" command.

new

Generates a new solution based on the Raaghu.

Usage:

raaghu new <solution-name> [options]

Example:

raaghu new Raaghu.BookStore
  • Raaghu.BookStore is the solution name here.
  • The common convention for naming a solution is like "YourCompany.YourProject." However, you can use different naming conventions such as "YourProject" (single-level namespacing) or "YourCompany.YourProduct.YourModule" (three-level namespacing).

For more samples, go to Raaghu CLI Create Solution Samples

Options
  • --version or -v: Specify the Raaghu version. If the version is not specified, it will automatically use the latest version to create the solution.
raaghu new <solution-name> --version <version>
raaghu new <solution-name> -v <version>

Example:

raaghu new Raaghu.BookStore  --version 7.4.4
raaghu new Raaghu.BookStore  -v 7.4.4

generate-proxy

Generates service proxies for your HTTP APIs to make easy to consume your services from the client side. Your host (server) application must be up and running before running this command.

Usage:

raaghu generate-proxy 

create

   create is used to generate different types of pages for managing data relationships. 
  • create --CRUDPage: Makes a page for managing data (like adding, viewing, updating, and deleting).which checks relationships and execute accordingly.

Usage:

raaghu create --CRUDPage
  • create --SimplePage: Makes a basic page, which do have any relation or dependancy on other page.

Usage:

raaghu create --SimplePage
  • create --OneToMany: Creates a page for handling one to many related entities.

Usage:

raaghu create --OneToMany
  • create --ManyToMany: Makes a page for handling many to many related entities.

Usage:

raaghu create --ManyToMany
  • create --HybridMany: Creates a page for handling a mix of different relationships.

Usage:

raaghu create --HybridMany

sync

helps us to connect frontend to ABP backend microservices source code solution.

Usage:

raaghu sync [options]
options
  • --abp : Connect frontend to ABP Commercial solution.
    • --microservices or -m : ABP backend microservices source code solution.

Example:

raaghu sync --abp --microservices
raaghu sync --abp -m

login

Some features of the CLI requires to be logged in to raaghu.io platform. To login with your email write:

raaghu login              #Allows you to enter your email and password(hidden)

A new login with an already active session overwrites the previous session.

  • login --info:

Shows your login information such as Username .

raaghu login-info

logout

Logs you out by removing the session token from your computer.

raaghu logout
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
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
1.0.25 57 4/30/2024
1.0.24 92 4/26/2024
1.0.23 98 4/22/2024
1.0.22 81 4/22/2024
1.0.21 77 4/19/2024
1.0.20 78 4/19/2024
1.0.19 68 4/18/2024
1.0.18 76 4/17/2024
1.0.17 84 4/16/2024
1.0.16 162 4/12/2024
1.0.15 318 4/1/2024
1.0.14 360 3/28/2024
1.0.13 335 3/28/2024
1.0.12 375 3/28/2024
1.0.11 317 3/27/2024
1.0.10 402 3/26/2024
1.0.9 595 3/13/2024
1.0.8 595 3/5/2024
1.0.7 723 2/28/2024
1.0.6 711 2/28/2024
1.0.5 802 2/28/2024
1.0.4 770 2/28/2024
1.0.3 670 2/27/2024
1.0.2 717 2/26/2024
1.0.1 871 2/26/2024
1.0.0 905 2/26/2024