sanchin

command
v0.0.0-...-a89d410 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

sanchin

脚手架介绍

sanchin脚手架工具集
  1. 快速生成模板项目
  2. 快速启动并监听文件变更

go version

GO >= 1.18

脚手架工具获取

windows :

set GO111MODULE=on
set GOPROXY=https://mirrors.aliyun.com/goproxy/,direct

linux :

export GO111MODULE=on
export GOPROXY=https://mirrors.aliyun.com/goproxy/,direct

go install -v gitee.com/chanuei/sanchin/cmd/sanchin@latest

  • windows 用户:
    会在${GOPATH}/src/bin 目录下生成sanchin.exe 文件,若想方便的在任何地方使用sanchin命令,请将该 命令配置在系统的环境变量中

如何使用

$ sanchin -h
                                     
      _                      _     _       
     | |                    | |   (_)      
      \ \   ____ ____   ____| | _  _ ____  
       \ \ / _  |  _ \ / ___) || \| |  _ \ 
   _____) | ( | | | | ( (___| | | | | | | |
  (______/ \_||_|_| |_|\____)_| |_|_|_| |_|
                                         
                                                           
GoVersion: go1.21.4
GOOS: linux
GOARCH: aarch64
NumCPU: 12
GOPATH: /home/chanuei/go
GOROOT: /usr/local/go1.21.4
Compiler: gc
ENV: 
Now: Sunday, 4 FEB 2024

NAME:
   sanchin - Fast bootstrap tool for sanchin framework

USAGE:
   sanchin [global options] command [command options] [arguments...]

COMMANDS:
   clean                clear all cached
   new, n               generate code framework
   run, r               auto restart program when files changed
   update, upgrade      Upgrade to the latest version
   help, h              Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL