cmd

package
v0.0.0-...-f4d96fc Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewGenerateCmd

func NewGenerateCmd(filesystem afero.Fs, documentationGenerator gitlab.DocumentationGenerator) *cobra.Command

NewGenerateCmd creates a new command for generating documentation for GitLab CI/CD components. It processes YAML files from a specified directory using a provided or default template.

Parameters:

  • filesystem: An interface for interacting with the file system.
  • documentationGenerator: An interface for generating documentation.

Returns:

  • *cobra.Command: A pointer to the newly created cobra.Command.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates the root command for the CLI application. This command serves as the entry point and parent for all other commands.

Returns:

  • *cobra.Command: A pointer to the newly created cobra.Command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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