flag

package
v0.0.0-...-ff8c6a7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(role string)

CreateUser 命令行创建用户

func IsWebStop

func IsWebStop(option Option) bool

IsWebStop 是否停止web项目

func Makemigrations

func Makemigrations()

命令行数据库迁移

func SwitchOption

func SwitchOption(option Option)

SwitchOption 根据命令执行不同的函数

Types

type Option

type Option struct {
	User string
	DB   bool
}

func Parse

func Parse() Option

Jump to

Keyboard shortcuts

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