manifest

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package spec contains the different options present under the spec generation command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Source string
	Strict bool
	*commonoptions.Options
}

Options is the list of options/flag available to the application, plus the clients needed by the application to function.

func New

func New(common *commonoptions.Options) *Options

New creates a new instance of the application's options

func (*Options) Complete

func (o *Options) Complete() error

Complete initialises the components needed for the application to function given the options

func (*Options) Prepare

func (o *Options) Prepare(cmd *cobra.Command) *Options

Prepare assigns the applications flag/options to the cobra cli

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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