package
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: Oct 16, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
package file contains commands related to file operations.
type Flags struct {
Required bool
Filename string
}
Flags contains the info needed for reading in a file for a command.
NewFlags returns a new Flags
AddFlags registers the flags on the supplied command.
File returns an opened file based on the filename. If `-` is provided, we return stdin.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.