Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoSpinFlag markdown.Flag = "nospin" InteractiveFlag = "interactive" SkipOnSuccessFlag = "skip-on-success" SkipOnFailureFlag = "skip-on-failure" StdoutFlag = "stdout" StderrFlag = "stderr" RevealFlag = "reveal" NoRunFlag = "norun" NamedFlag = "named" NamedAllFlag = "named-all" CaptureEnvFlag = "env" StopOkFlag = "stop-ok" StopFailFlag = "stop-fail" IgnoreFailureFlag = "ignore-failure" EnvAwareFlag = "sub-env" SetupFlag = "setup" BorgFlag = "borg" DescriptionFlag = "desc" OnFailureFlag = "on-failure" )
View Source
const ( SaveParameter markdown.Parameter = "save" WithParameter = "with" LabelParameter = "label" DescriptionParameter = "desc" OnFailureParameter = "on-failure" StopFailParameter = "stop-fail" )
Variables ¶
View Source
var ( SuccessfulExecution = ExecutionResult{Kind: "Success", IsError: false, FocusLine: -1} SkipToNextHeading = ExecutionResult{Kind: "Skip", IsError: false, FocusLine: -1} StopFailResult = ExecutionResult{Kind: "Stop", IsError: true, FocusLine: -1} StopOkResult = ExecutionResult{Kind: "Stop", IsError: false, FocusLine: -1} )
Functions ¶
func DetectErrorLine ¶
Attempts to detect the actual line in the script which an error refers to.
func ValidateModifiers ¶
Types ¶
type ExecutionResult ¶
Click to show internal directories.
Click to hide internal directories.