Discover Packages
github.com/asyncapi/parser-go
internal
cli
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Aug 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Cli struct {
docopt.Opts
}
Cli is a helper type that allows you to instantiate the AsyncAPI Converter and io.Reader of
the converted document with arguments passed from the terminal.
func New(opts docopt.Opts) Cli
New returns a new Cli instance.
NewParserAndReader creates both a parser and a reader of the AsyncAPI document.
Parser parses an AsyncAPI document.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.