Documentation
¶
Index ¶
- func Annotate(cmd *cli.Command, meta murli.Metadata)
- func AnnotateApp(app *cli.App, meta murli.Metadata)
- func BuildV2DescribeTree(cmd *cli.Command) murli.DescribeCommandSchema
- func EmitSchema(cmd *cli.Command, w io.Writer) error
- func NewWriter(ctx *cli.Context) *murli.Writer
- func Run(app *cli.App, args []string) error
- func Wrap(app *cli.App)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateApp ¶ added in v0.5.0
AnnotateApp registers murli Metadata for the root cli.App. Use this to mark root-level app flags (those on app.Flags) as Profileable.
func BuildV2DescribeTree ¶ added in v0.3.0
func BuildV2DescribeTree(cmd *cli.Command) murli.DescribeCommandSchema
BuildV2DescribeTree recursively builds the full DescribeCommandSchema for a v2 command.
func EmitSchema ¶
EmitSchema writes the agent-optimized JSON schema for a command to w.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.