Documentation ¶
Index ¶
- Variables
- func DoRunAll(filesParam []string, ctx cli.Context, supplier amalgomated.CmderSupplier, ...) error
- func GoFmtCommand(supplier amalgomated.CmderSupplier) cli.Command
- func PTImportsCommand(supplier amalgomated.CmderSupplier) cli.Command
- func RunAllCommand(supplier amalgomated.CmderSupplier) cli.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Library = amalgomated.NewCmdLibrary(amalgomatedformatters.Instance()) VerboseFlag = flag.BoolFlag{ Name: verboseFlagName, Alias: "v", Usage: "Print formatters as they are run", } ListFlag = flag.BoolFlag{ Name: listFlagName, Alias: "l", Usage: "Print the files that would change if command is run", } FilesParam = flag.StringSlice{ Name: filesParamName, Usage: "Files to format (defaults to all project .go files)", Optional: true, } )
Functions ¶
func DoRunAll ¶
func DoRunAll(filesParam []string, ctx cli.Context, supplier amalgomated.CmderSupplier, wd string) error
func GoFmtCommand ¶
func GoFmtCommand(supplier amalgomated.CmderSupplier) cli.Command
func PTImportsCommand ¶
func PTImportsCommand(supplier amalgomated.CmderSupplier) cli.Command
func RunAllCommand ¶
func RunAllCommand(supplier amalgomated.CmderSupplier) cli.Command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.