Cli
GoAdmin provides a command line tool to increase development efficiency and streamline the development process.

Install

Download the binary of the corresponding system:
File name
OS
Arch
Size
macOs
x86-64
4.77 MB
Linux
x86-64
6.52 MB
Linux
x86
6.06 MB
Windows
x86
6.16 MB
Windows
x86-64
6.38 MB
Or use the command to install:
1
go install github.com/GoAdminGroup/adm
Copied!

Usage

Use
1
adm --help
Copied!
Will list help information.
Command
Subcommand
Options
Function
generate
-
-
generate a data model file.
compile
asset
-s, --src front-end resource folder path -d, --dist output go file path
compile all resource files into one single go file.
compile
tpl
-s, --src the input golang tmpl template folder path -d, --dist output go file path p, --package output go file package name
compile all template files into one single go file.
combine
css
-s, --src the input css folder path -d, --dist the output css file path p, --package output go file package name
combine the css files into one single css file.
combine
js
-s, --src the input js folder path -d, --dist the output js file path
combine the js files into one single js file.
develop
tpl
-m, --module golang module name or path under $GOPATH -n, --name theme name
fetch remotely theme development templates to local.
Last modified 1mo ago
Copy link
Contents
Install
Usage