commands

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateList

func CreateList(
	fs filesystem.FileSystem,
) []interaction.Command

Types

type Base64

type Base64 struct {
	// contains filtered or unexported fields
}

func NewBase64

func NewBase64(fs filesystem.FileSystem) *Base64

func (*Base64) Definition

func (c *Base64) Definition() *interaction.Definition

func (*Base64) Execute

func (c *Base64) Execute(_ *interaction.Context, env *interaction.Env) error

type Gpg

type Gpg struct {
}

func NewGpg

func NewGpg() *Gpg

func (*Gpg) Definition

func (c *Gpg) Definition() *interaction.Definition

func (*Gpg) Execute

func (c *Gpg) Execute(ctx *interaction.Context, env *interaction.Env) error

type JSONPath

type JSONPath struct {
	// contains filtered or unexported fields
}

func NewJSONPath

func NewJSONPath(
	fs filesystem.FileSystem,
) *JSONPath

func (*JSONPath) Definition

func (c *JSONPath) Definition() *interaction.Definition

func (*JSONPath) Execute

func (c *JSONPath) Execute(_ *interaction.Context, env *interaction.Env) error

type JSONPretty

type JSONPretty struct {
}

func NewJSONPretty

func NewJSONPretty() *JSONPretty

func (*JSONPretty) Definition

func (c *JSONPretty) Definition() *interaction.Definition

func (*JSONPretty) Execute

func (c *JSONPretty) Execute(_ *interaction.Context, env *interaction.Env) error

type MD5

type MD5 struct {
}

func NewMD5

func NewMD5() *MD5

func (*MD5) Definition

func (c *MD5) Definition() *interaction.Definition

func (*MD5) Execute

func (c *MD5) Execute(_ *interaction.Context, env *interaction.Env) error

type Mkdirs

type Mkdirs struct {
}

func NewMkdirs

func NewMkdirs() *Mkdirs

func (*Mkdirs) Definition

func (c *Mkdirs) Definition() *interaction.Definition

func (*Mkdirs) Execute

func (c *Mkdirs) Execute(_ *interaction.Context, env *interaction.Env) error

type Password

type Password struct {
}

func NewPassword

func NewPassword() *Password

func (*Password) Definition

func (p *Password) Definition() *interaction.Definition

func (*Password) Execute

func (p *Password) Execute(_ *interaction.Context, env *interaction.Env) error

type Range

type Range struct {
}

func NewRange

func NewRange() *Range

func (*Range) Definition

func (r *Range) Definition() *interaction.Definition

func (*Range) Execute

func (r *Range) Execute(_ *interaction.Context, env *interaction.Env) error

type TgGetUpdates added in v0.2.0

type TgGetUpdates struct {
	// contains filtered or unexported fields
}

func NewTgGetUpdates added in v0.2.0

func NewTgGetUpdates(bot *shared.TgBot) *TgGetUpdates

func (*TgGetUpdates) Definition added in v0.2.0

func (r *TgGetUpdates) Definition() *interaction.Definition

func (*TgGetUpdates) Execute added in v0.2.0

func (r *TgGetUpdates) Execute(ctx *interaction.Context, env *interaction.Env) error

type Timestamp

type Timestamp struct {
}

func NewTimestamp

func NewTimestamp() *Timestamp

func (*Timestamp) Definition

func (c *Timestamp) Definition() *interaction.Definition

func (*Timestamp) Execute

func (c *Timestamp) Execute(_ *interaction.Context, env *interaction.Env) error

type UUID

type UUID struct {
}

func NewUUID

func NewUUID() *UUID

func (*UUID) Definition

func (c *UUID) Definition() *interaction.Definition

func (*UUID) Execute

func (c *UUID) Execute(_ *interaction.Context, env *interaction.Env) error

type Untar added in v0.2.0

type Untar struct {
	// contains filtered or unexported fields
}

func NewUntar added in v0.2.0

func NewUntar(tar *sh.Tar) *Untar

func (*Untar) Definition added in v0.2.0

func (t *Untar) Definition() *interaction.Definition

func (*Untar) Execute added in v0.2.0

func (t *Untar) Execute(ctx *interaction.Context, env *interaction.Env) error

type User

type User struct {
}

func NewUser

func NewUser() *User

func (*User) Definition

func (c *User) Definition() *interaction.Definition

func (*User) Execute

func (c *User) Execute(ctx *interaction.Context, env *interaction.Env) error

Jump to

Keyboard shortcuts

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