Code Monkey home page Code Monkey logo

tools's Introduction

Hisar Web CLI Tools: Cross-Platform Modular Component Development Web CLI

NuGet NuGet

Hisar WebCli provides modular component development without dependencies. NetCoreStack.Hisar supports any standalone MVC app that it can be part of hosting application package as a component. Please check out NetCoreStack.Hisar on Github for more details. Each component-module should know what layout.cshtml looks like and then this tool can manage it for you. If you don't specify the main application directory it will create the default _Layout.cshtml page.

Install

Download the .NET Core SDK 2.2.0 or newer. Once installed, run this command:

dotnet tool install --global dotnet-hisar --version 2.2.0

Usage

Usage: dotnet hisar [options] [[--] <arg>...]

Options:
-?|-h|--help  Show help information
-a|--appdir   Main application directory
-b|--build    Component directory
-c|--clean    To clean NetCoreStackHisarWebCliTools temp directory and SQLite data which stores Layout.cshtml(s)
-s|--static   It launches a server in the current working directory and serves all files in it.
-v|--verbose  Show verbose output

Remarks:
Hisar WebCli provides modular component development environements.
You can manage all the files you specified with --appdir option or serve static files with --static option.
However, NetCoreStack.Hisar rely on this tool to templating and create appropriate component packages.
If you don't specify the main application directory it will create a default simple _Layout.cshtml page.

For example: dotnet hisar --appdir <the-full-path-of-your-main-app>
            dotnet hisar --static <the-full-path-of-your-static-files>
            dotnet hisar --build  <the-component-project-directory> (MsBuild integrated)

Examples:
dotnet hisar
dotnet hisar --appdir C:/users/codes/project/src/Hisar.Hosting
dotnet hisar --static C:/users/codes/project/wwwroot
dotnet hisar --build C:/users/codes/project/src/Hisar.Component.Carousel

Build

Run pack.ps1 or pack.sh according to the OS to create Cli Tools nuget package.
Run dotnet restore command on root directory (where the NetCoreStack.Tools.sln file)

Latest release on Nuget

Prerequisites

ASP.NET Core

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.