hshell

command module
v0.0.0-...-70bc594 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: MIT Imports: 31 Imported by: 0

README

platform-cli

Build: go get github.com/HailoOSS/platform-cli/hshell

Usage: hshell flag interface

Example:

hshell -protobuf=github.com/HailoOSS/go-platform-layer/examples/sayhello -endpoint="com.HailoOSS.service.helloworld.sayhello" -request="Name: proto.String(\"Moddie\")"  -update=false -hint=false -default=false

Explain:

-protobuf The protobuf to import (as you would put in your go imports)

-endpoint The endpoint you want to hit

-request The request object to send (try -hint=true to see what this should look like before sending)

-hint this will not send anything but will give you an example protobuf object

-update This will update the client, protobuf lib and the protobuf file from the network

-default If true, sends a default request as parsed from the protos

-h Usage info

hshell console

Example:

hshell -cli=true

use the help command for more information about hshell console

Example usage:

ls //lists services use {service} //sets a service as the service of interest ls //lists endpoints of service of interest execute {endpoint} {json content} //executes the endpoint profit //invalid command

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
quick and dirty test script for the broker prototypes This measures client side CPU and request response timings.
quick and dirty test script for the broker prototypes This measures client side CPU and request response timings.

Jump to

Keyboard shortcuts

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