act

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd added in v1.0.2

func Cmd() *cli.Cmd

Cmd returns the cmd.

func Del

func Del(env *env.Env, args []string) error

Del deletes acts for path or rule name. ./malwatch actions del [PATH | SIGNATURE]

func Get

func Get(env *env.Env, args []string) error

Get prints acts for given target or path. ./malwatch actions get [PATH | SIGNATURE]

func Set

func Set(env *env.Env, args []string) error

Set sets acts for path or rule name. ./malwatch acts set [PATH | RULE]

Types

type Parsed

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

Parsed represents parsed args.

func Parse

func Parse(args []string) *Parsed

Parse parses cli args. A key from first arg determines if path or rule name was specified.

Jump to

Keyboard shortcuts

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