0.0.1 • Published 4 years ago
peopleapicli v0.0.1
peopleapicli
CLI for the SIP peopleapi
Usage
$ npm install -g peopleapicli
$ peopleapicli COMMAND
running command...
$ peopleapicli (-v|--version|version)
peopleapicli/0.0.1 darwin-x64 node-v10.15.0
$ peopleapicli --help [COMMAND]
USAGE
$ peopleapicli COMMAND
...
Commands
peopleapicli hello [FILE]
describe the command here
USAGE
$ peopleapicli hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ peopleapicli hello
hello world from ./src/hello.ts!
See code: src/commands/hello.ts
peopleapicli help [COMMAND]
display help for peopleapicli
USAGE
$ peopleapicli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Resources
The following resources may prove useful to understand tech technologies used in this repository:
- The official NodeJS GRPC examples
- The npm page of grpc_tools_node_protoc_ts which is used to generate the typescript types for the code generated from the proto file.
- The lodash package is extensively used in this.
- The async.
FAQ
Adding the proto file.
The proto file is currently part of the repository. To add it to the repository you have to change the line
import "google/rpc/status.proto";
to import "Status.proto";
0.0.1
4 years ago