command

package
v0.4.1-beta Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AmendedADRId int

AmendedADRId represents the ID for a amended ADR File

View Source
var FilterQuery string

FilterQuery represents the query string for a ADR filter

View Source
var MetaFlag []string

MetaFlag slice for the meta param that could be used by the cli commands

View Source
var SupersededADRId int

SupersededADRId represents the ID for a superseded ADR File

Functions

func CreateCreateCommand

func CreateCreateCommand() *cobra.Command

CreateCreateCommand creates the 'create' CLI Command related to the ADR file creation

func CreateInitCommand

func CreateInitCommand() *cobra.Command

CreateInitCommand creates the 'init' CLI Command related to the project initialization

func CreateListCommand

func CreateListCommand() *cobra.Command

CreateListCommand creates the 'list' CLI Command that shows all the ADRs

func CreateStatusChangeCommand

func CreateStatusChangeCommand() *cobra.Command

CreateStatusChangeCommand creates the 'status' CLI Command related to the ADR file status change use case

func CreateVersionCommand

func CreateVersionCommand() *cobra.Command

CreateVersionCommand creates the 'version' CLI Command to get the version of ADRgen

func ExecuteRootCommand

func ExecuteRootCommand()

Execute executes the root Command

func GetConfig

func GetConfig() (config.Config, error)

GetConfig is used by the CLI Commands that need the project's configuration values

Types

This section is empty.

Jump to

Keyboard shortcuts

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