bash

package
v1.9.51 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SID = "sid"
	ARG = "arg"
	SUB = "sub"
)
View Source
const BASH = "bash"
View Source
const CONFIGS = "configs"
View Source
const FAVOR = "favor"
View Source
const GRANT = "grant"
View Source
const RUN = "run"
View Source
const SESS = "sess"
View Source
const SYNC = "sync"
View Source
const TRASH = "trash"
View Source
const ZSH = "zsh"

Variables

View Source
var Index = &ice.Context{Name: BASH, Help: "命令行", Commands: ice.Commands{
	BASH: {Name: "bash path auto order build download", Help: "命令行", Actions: ice.MergeActions(ice.Actions{
		cli.ORDER: {Hand: func(m *ice.Message, arg ...string) {
			m.Cmdy(code.INSTALL, cli.ORDER, mdb.Config(m, nfs.SOURCE), "_install/bin")
		}},
	}, code.InstallAction(nfs.SOURCE, "http://mirrors.tencent.com/macports/distfiles/bash/5.1_1/bash-5.1.tar.gz")), Hand: func(m *ice.Message, arg ...string) {
		m.Cmdy(code.INSTALL, ctx.ConfigSimple(m, nfs.SOURCE), arg)
	}},
}}

Functions

func Complete added in v1.4.7

func Complete(m *ice.Message, detail bool, arg ...string) (res []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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