https://github.com/triggerdotdev/api-hero-cli
Use the API Hero CLI to add APIs to your app in seconds
https://github.com/triggerdotdev/api-hero-cli
api
Last synced: 13 days ago
JSON representation
Use the API Hero CLI to add APIs to your app in seconds
- Host: GitHub
- URL: https://github.com/triggerdotdev/api-hero-cli
- Owner: triggerdotdev
- Created: 2022-08-23T13:23:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-15T16:01:29.000Z (over 2 years ago)
- Last Synced: 2025-06-06T18:14:15.984Z (20 days ago)
- Topics: api
- Language: TypeScript
- Homepage: https://apihero.run
- Size: 3.47 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Hero CLI
# Usage
We recommend using `npx`:
```shell
npx apihero@latest add GitHub
```## Commands
### Add
To add an API to your project, run this command in the root of your project:
```shell
npx apihero@latest add GitHub
```It will guide you through authenticating the CLI if you haven't already finished that on your machine.
Then it will search for the API you typed in ("GitHub" in the example above). It will show results for you to select from.
Once you have selected an API it will add it to your API Hero project and install the npm package for that API.
Also, you will need to select the framework you wish to add (currently React or Node).
### Help
```shell
npx apihero@latest --help
```Will list all of the possible commands, and link you to our documentation.