sherpaclient

command
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Sherpaclient calls Sherpa API functions and prints Sherpa API documentation from the command-line.

Example:

# all documentation for the API
sherpaclient -doc https://www.sherpadoc.org/example/

# documentation for just one function
sherpaclient -doc https://www.sherpadoc.org/example/ sum

# call a function
sherpaclient https://www.sherpadoc.org/example/ sum 1 1

The parameters to a function must be valid JSON. Don't forget to quote the double quotes of your JSON strings!

Usage: sherpaclient [options] baseURL function [param ...]
  -doc
	show documentation for all functions or single function if specified
  -info
	show the API descriptor

Jump to

Keyboard shortcuts

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