cmdgen

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package `cmdgen` provides an API to generate API request commands (by default based on HTTPie) based on the parsed API file contents and the `l2` command invocation parameters

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructCommand

func ConstructCommand(parsedInput *gabs.Container, o *lama2cmd.Opts) ([]string, string)

ConstructCommand extracts the HTTP verb, url and other API file inputs, figures out the type of target command and finally generates a string representing the generated command

Types

This section is empty.

Jump to

Keyboard shortcuts

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