arguments

package
v0.9.23 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join added in v0.9.16

func Join(args []string) string

Join 把一组命令行参数连接成一个 string

func Parse added in v0.9.16

func Parse(line string) ([]string, error)

Parse 函数把一个命令行字符串解析为 []string 的形式

Types

type Table

type Table interface {
	Raw() []string
}

Table 表示用来存放命令行参数的对象

func NewTable

func NewTable(args []string, mode safe.Mode) Table

NewTable 新建属性表

Jump to

Keyboard shortcuts

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