# README
commands
import "github.com/slalombuild/fusion/internal/commands"
Index
- Constants
- func Graph(ctx *Context, r templates.Renderer) error
- type Context
- type GenerateSnippetsCommand
- type NoColorFlag
- type NoFormatFlag
- type OutputFlag
- type VerboseFlag
- type VersionFlag
Constants
const (
EDITOR_VSCODE = "vscode"
EDITOR_INTELLIJ = "intellij"
)
func Graph
func Graph(ctx *Context, r templates.Renderer) error
type Context
type Context struct {
Version VersionFlag
Verbose VerboseFlag
NoColor NoColorFlag
NoFormat NoFormatFlag
Output OutputFlag
}
type GenerateSnippetsCommand
type GenerateSnippetsCommand struct {
Output string `short:"o" xor:"output,install" required:"" type:"path" help:"Accepts '' for stdout or a filepath (Default stdout)"`
Install bool `short:"i" xor:"output,install" help:"Use this flag to install or update your fusion snippets in VS Code (intellij not supported)"`
Editor string `short:"e" required:"" enum:"vscode,intellij" help:"Specify which editor to generate snippets for. Current options are 'vscode' or 'intellij'"`
}
func (*GenerateSnippetsCommand) Run
func (g *GenerateSnippetsCommand) Run() error
func (*GenerateSnippetsCommand) Validate
func (g *GenerateSnippetsCommand) Validate() error
type NoColorFlag
NoColorFlag supports the no-color environment variable standard to skip colorful output https://no-color.org
type NoColorFlag bool
func (NoColorFlag) Bool
func (n NoColorFlag) Bool() bool
type NoFormatFlag
NoFormatFlag supports skipping the formatting
type NoFormatFlag bool
func (NoFormatFlag) Bool
func (n NoFormatFlag) Bool() bool
type OutputFlag
type OutputFlag io.Writer
type VerboseFlag
VerboseFlag is a flag with a hook that, if triggered, will set the debug loggers output to stdout.
type VerboseFlag bool
func (VerboseFlag) Bool
func (v VerboseFlag) Bool() bool
type VersionFlag
type VersionFlag string
func (VersionFlag) BeforeApply
func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error
func (VersionFlag) Decode
func (v VersionFlag) Decode(ctx *kong.DecodeContext) error
func (VersionFlag) IsBool
func (v VersionFlag) IsBool() bool
Generated by gomarkdoc
# Packages
Package awscmd contains all commands for the aws section of the fusion cli
Commands
AWS commands can be executed with fusion new aws.
Package azurecmd contains all commands for the aws section of the fusion cli
Commands
AWS commands can be executed with fusion new azure.
Package ctlcmd contains all commands for the fusionctl cli.
Package gcpcmd contains all commands for the gcp section of the fusion cli
Commands
GCP commands can be executed with fusion new gcp.
# Functions
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
# Type aliases
NoColorFlag supports the no-color environment variable standard to skip colorful output https://no-color.org.
NoFormatFlag supports skipping the formatting.
No description provided by the author
VerboseFlag is a flag with a hook that, if triggered, will set the debug loggers output to stdout.
No description provided by the author