cmd

package
v0.0.0-...-f4276bb Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 2 Imported by: 0

README

项目的CLI

// 通过配置文件读取参数怎么配置?
// flag
go run main.go 
vblog start -t file -f etc/config.toml
vblog start -t env
# 做一些初始化, 比如初始化admin用户
vblog init

// 
vblog blog create xxx -d ''

如果优雅关闭服务

cobra(docker)

使用方式参考

使用手册

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

执行命令

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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