Documentation
¶
Overview ¶
Package files owns handwritten file workflows and their result presentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
Configure extends task routes after cloning so compatibility commands keep their output.
func RequestInput ¶ added in v1.42.1
RequestInput borrows stdin without closing it or changing its descriptor state. Scalar inspection uses the shared platform-specific cancellation behavior.
func ShowResult ¶
func ShowResult(value gjson.Result, opts ResultOptions) (bool, error)
ShowResult presents friendly file routes. Downloads retain ordinary rendering. The caller supplies a non-nil context and initialized output destinations.
func ValidatePurpose ¶ added in v1.42.1
func ValidatePurpose(command *cli.Command, contents requestflag.RequestContents) error
ValidatePurpose checks resolved fields, including scalar files, before sending a request.
Types ¶
type ResultOptions ¶
type ResultOptions struct {
clioutput.ReadableOptions
Quiet bool
}
ResultOptions supplies destination classification and quiet policy from assembly.
Click to show internal directories.
Click to hide internal directories.