cli

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cli provides the application command line interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cli.App

New creates a new cli application.

Types

type Options added in v0.83.0

type Options struct {
	SettingsFile    string          `json:"settings_file"`
	IgnoreSettings  bool            `json:"ignore_settings"`
	Force           bool            `json:"force"`
	DryRun          bool            `json:"dry_run"`
	Verbose         bool            `json:"verbose"`
	Severity        string          `json:"severity"`
	IgnoreFailures  bool            `json:"ignore_failures"`
	IgnoreIDs       cli.StringSlice `json:"ignore_ids"`
	IgnoreFixStates cli.StringSlice `json:"ignore_fix_states"`
	Pipeline        bool            `json:"pipeline"`
	RepoID          string          `json:"repo_id"`
	BuildID         string          `json:"build_id"`
	CacheDir        string          `json:"cache_dir"`
	S3Bucket        string          `json:"s3_bucket"`
	S3KeyPrefix     string          `json:"s3_key_prefix"`
}

Options represents the command line options.

Jump to

Keyboard shortcuts

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