cmd

package
Version: v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmd provides entry points for CLI commands.

Index

Constants

View Source
const (
	CliName = "crashd"
)

Variables

View Source
var (
	// Directory path created at crashd runtime
	CrashdDir = filepath.Join(os.Getenv("HOME"), ".crashd")
	// file path of the defaults args file
	ArgsFile = filepath.Join(CrashdDir, "args")
)

Functions

func CreateCrashdDir added in v0.3.0

func CreateCrashdDir() error

This creates a crashd directory which can be used as a default workdir for script execution. It will also house the default args file.

func Run

func Run() error

Run starts the command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL