cmd

package
v0.2.37 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 27 Imported by: 3

Documentation

Index

Constants

View Source
const NoticeURL = "https://api.nektosact.com/notices"

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, version string)

Execute is the entry point to running the CLI

Types

type Input added in v0.2.0

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

Input contains the input for the root command

func (*Input) Envfile added in v0.2.6

func (i *Input) Envfile() string

Envfile returns path to .env

func (*Input) EventPath added in v0.2.0

func (i *Input) EventPath() string

EventPath returns the path to events file

func (*Input) Inputfile added in v0.2.36

func (i *Input) Inputfile() string

Inputfile returns the path to the input file

func (*Input) Secretfile added in v0.2.8

func (i *Input) Secretfile() string

Secretfile returns path to secrets

func (*Input) Workdir added in v0.2.0

func (i *Input) Workdir() string

Workdir returns path to workdir

func (*Input) WorkflowsPath added in v0.2.0

func (i *Input) WorkflowsPath() string

WorkflowsPath returns path to workflow file(s)

type Notice added in v0.2.36

type Notice struct {
	Level   string `json:"level"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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