command

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagLog             = "log"
	FlagLogDir          = "log_dir"
	FlagToolDir         = "tool_dir"
	FlagJobDir          = "job_dir"
	FlagJobJSONPrefix   = "job_json_prefix"
	FlagJobStartIndex   = "job_start_index"
	FlagCommitSuicide   = "commit_suicide"
	FlagPort            = "port"
	FlagProcessInfoFile = "process_info_file"
)

define const vars

View Source
const (
	ClientBKShaderToolUsage = "BlueKing shader tool"
	ControllerScheme        = "http"
	ControllerIP            = "127.0.0.1"
	ControllerPort          = 30117
)

const vars

Variables

This section is empty.

Functions

func GetApp

func GetApp(ct ClientType) *commandCli.App

GetApp get app by type

func Run

func Run(ct ClientType)

Run main entrance

Types

type ClientType

type ClientType string

ClientType define client type

var (
	ClientBKShaderTool ClientType = "bk-shader-tool"
)

define vars

func (ClientType) Name

func (ct ClientType) Name() string

Name return client name

func (ClientType) Usage

func (ct ClientType) Usage() string

Usage return client usage

Jump to

Keyboard shortcuts

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