cmd

package
v0.73.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cmd implements a cobra command for validating and normalizing profiles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the command.

func GetProfile

func GetProfile(filePath string) (*profiledefinition.ProfileDefinition, []string)

GetProfile parses a profile from a file path and validates it.

func WriteProfile

func WriteProfile(def *profiledefinition.ProfileDefinition, name string, outdir string, useJSON bool) error

WriteProfile writes a profile to disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL