Documentation
¶
Index ¶
- Variables
- func AfterCommand(ctx context.Context, cmd *cli.Command) error
- func BeforeCommand(ctx context.Context, c *cli.Command) (context.Context, error)
- func ErrorCommand(ctx context.Context, cmd *cli.Command, err error) error
- func Init() io.Closer
- func SendEvent(event string, properties analytics.Properties)
- func SendEventWithAssetStats(event string, stats map[string]int, cmd *cli.Command)
- func SetTemplateName(name string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OptOut = false AppVersion = "" RunID = "" TemplateName = "" // Stores template name for init command (protected by lock) )
View Source
var TelemetryKey string
Functions ¶
func BeforeCommand ¶
func SendEvent ¶
func SendEvent(event string, properties analytics.Properties)
func SendEventWithAssetStats ¶
func SetTemplateName ¶ added in v0.11.420
func SetTemplateName(name string)
SetTemplateName stores the template name for telemetry (thread-safe).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.