backender-client
v1.0.12
Published
Frontend client for the Backender API
Downloads
7
Readme
backender-client
Frontend client for Backender API
Usage
$ npm install -g backender-client
$ backender COMMAND
running command...
$ backender (-v|--version|version)
backender-client/1.0.11 darwin-x64 node-v14.13.1
$ backender --help [COMMAND]
USAGE
$ backender COMMAND
...
Commands
backender generate BACKEND-ID OUTPUT-FILE
generate typescript client for your backend
USAGE
$ backender generate BACKEND-ID OUTPUT-FILE
ARGUMENTS
BACKEND-ID backend unique identifier
OUTPUT-FILE destination for generated client e.g. src/__generated__/client.ts
OPTIONS
-h, --help show CLI help
--hooks include to generate useClient() react hook
EXAMPLE
$ backender generate x9d2389XisdDS80Di8 src/__generated__/client.ts --hooks
See code: lib/commands/generate.js
backender help [COMMAND]
display help for backender
USAGE
$ backender help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help