Versions in this module Expand all Collapse all v1 v1.1.1 Jun 25, 2026 v1.1.0 Jun 24, 2026 v1.0.0 Jun 24, 2026 Changes in this version + const APP_NAME + const PKG_CMD + func Run(version string, args []string) error + type AdminTokenCmd struct + AccessTokenEnv string + Password string + Realm string + RefreshTokenEnv string + SetEnv bool + Username string + func (c *AdminTokenCmd) Run(ctx *kong.Context, cli *CLI) error + type CLI struct + AdminToken AdminTokenCmd + Compare CompareCmd + Fetch FetchCmd + Generate GenerateCmd + Upload UploadCmd + Version VersionCmd + func (cli *CLI) AfterApply(ctx *kong.Context) error + type CompareCmd struct + Force bool + Format string + InputFiles []string + Output string + Realm string + func (c *CompareCmd) Run(ctx *kong.Context, cli *CLI) error + type FetchCmd struct + Canonicalize bool + Depth int + ExcludeFields []string + Filter string + Force bool + Format string + Long bool + Max int + Output string + Parent string + Realm string + Relationships bool + Resources string + Search string + func (c *FetchCmd) Run(ctx *kong.Context, cli *CLI) error + type GenerateCmd struct + Format string + Output string + Overwrite bool + Realm string + Summary bool + WithAuthenticationFlows int + WithClientScopes int + WithClients int + WithGroups int + WithIdentityProviders int + WithOrganizations int + WithPasswordPolicies int + WithRoles int + WithSecurityDefenses int + WithUsers int + func (c *GenerateCmd) Run(_ *kong.Context, cli *CLI) error + func (c *GenerateCmd) Validate() error + type Globals struct + KeycloakBaseURL string + LogFormat string + LogLevel string + SpecPath string + Timeout time.Duration + func (g *Globals) CreateContextWithTimeout() (context.Context, context.CancelFunc) + type UploadCmd struct + ContinueOnError bool + Delete bool + DryRun bool + Force bool + Format string + InputFiles []string + Output string + func (c *UploadCmd) Run(ctx *kong.Context, cli *CLI) error + type VersionCmd struct + func (v *VersionCmd) Run(name, version string) error