Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "jaq", Short: "A scriptable, command-line tool for working with JSON endpoints", Long: `A scriptable, command-line tool for working with JSON endpoints. Pipe data from one endpoint to another while utilizing data from the first to run multiple commands against the next. Pairs well with a tool like jq which can filter and pretty print json. Use a configuration file to automatically handle the most common fields when routinely working with an API such as domain/subdomain and authorization. Examples: > jaq get /posts > jaq get /posts | jq -c .[] | jaq delete /posts/${1.id} --dry-run > jaq get /posts | jq -c .[0:3] | jaq get /comments -q postId=${1.id} `, SilenceUsage: true, SilenceErrors: true, }
RootCmdrepresents the base command when called without any subcommands
Functions ¶
func ResetSettings ¶
func ResetSettings()
func ResetSettingsHTTPVerbs ¶
func ResetSettingsHTTPVerbs()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.