cmd

package
v0.0.0-...-a78f517 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_FULL_BOOT = "FULL_BOOT"
	MODE_MINI_BOOT = "MINI_BOOT"
)
View Source
const BootModeKey = "BootMode"

Variables

View Source
 ________  ________  _________  ________  ___       ___  __
|\   __  \|\   __  \|\___   ___\\   __  \|\  \     |\  \|\  \
\ \  \|\  \ \  \|\  \|___ \  \_\ \  \|\  \ \  \    \ \  \/  /|_
 \ \   __  \ \   _  _\   \ \  \ \ \   __  \ \  \    \ \   ___  \
  \ \  \ \  \ \  \\  \|   \ \  \ \ \  \ \  \ \  \____\ \  \\ \  \
   \ \__\ \__\ \__\\ _\    \ \__\ \ \__\ \__\ \_______\ \__\\ \__\
    \|__|\|__|\|__|\|__|    \|__|  \|__|\|__|\|_______|\|__| \|__|

Artalk (` + Version + `)

 -> A Self-hosted Comment System.
 -> https://artalk.js.org
`
View Source
var Version = config.Version + `/` + config.CommitHash

Functions

func NewAdminCommand

func NewAdminCommand(app *ArtalkCmd) *cobra.Command

func NewConfigCommand

func NewConfigCommand() *cobra.Command

func NewExportCommand

func NewExportCommand(app *ArtalkCmd) *cobra.Command

func NewGenCommand

func NewGenCommand() *cobra.Command

func NewImportCommand

func NewImportCommand(app *ArtalkCmd) *cobra.Command

func NewServeCommand

func NewServeCommand(app *ArtalkCmd) *cobra.Command

func NewUpgradeCommand

func NewUpgradeCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

Types

type ArtalkCmd

type ArtalkCmd struct {
	*core.App

	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

func New

func New() *ArtalkCmd

func (*ArtalkCmd) Launch

func (atk *ArtalkCmd) Launch() error

Jump to

Keyboard shortcuts

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