45 releases (18 breaking)
0.19.2 | May 12, 2023 |
---|---|
0.18.13 | May 9, 2023 |
0.18.0-rc.4 | Mar 31, 2023 |
0.14.1 | Dec 22, 2022 |
0.3.0 | Jul 25, 2022 |
#764 in Command line utilities
270KB
3.5K
SLoC
Grafbase
The Grafbase CLI
Usage
The Grafbase command line interface
USAGE:
grafbase [OPTIONS] <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
completions Output completions for the chosen shell
To use, write the output to the appropriate location for your shell
dev Run your grafbase project locally
help Print this message or the help of the given subcommand(s)
init Sets up the current or a new project for Grafbase
Subcommands
completions <shell>
Output completions for the chosen shell
dev
Run your grafbase project locally
Flags
-p, --port <port>
- Use a specific port-s, --search
- If a given port is unavailable, search for another--disable-watch
- Do not listen for schema changes and reload
init
Sets up the current or a new project for Grafbase
Arguments
[name]
- If supplied, creates a new project directory with the given name rather than setting up the current directory
Flags
-t, --template <name>
- The name or GitHub URL of the template to use for the new project
Dependencies
~102MB
~2M SLoC