Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatScript ¶
func FormatScript(input string, opts FormatOptions) (string, error)
FormatScript formats a shell script by adjusting -n flags for c8y commands
Types ¶
type CmdFormat ¶
type CmdFormat struct {
*subcommand.SubCommand
// contains filtered or unexported fields
}
func NewCmdFormat ¶
type FormatOptions ¶
FormatOptions represents the options for formatting
Click to show internal directories.
Click to hide internal directories.