Crates.io | grafbase |
lib.rs | grafbase |
version | 0.19.2 |
source | src |
created_at | 2022-05-16 13:28:24.994225 |
updated_at | 2023-05-12 20:14:15.431775 |
description | The Grafbase command line interface |
homepage | https://grafbase.com |
repository | https://github.com/grafbase/grafbase |
max_upload_size | |
id | 587656 |
size | 1,242,944 |
The Grafbase CLI
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
completions <shell>
Output completions for the chosen shell
dev
Run your grafbase project locally
-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 reloadinit
Sets up the current or a new project for Grafbase
[name]
- If supplied, creates a new project directory with the given name rather than setting up the current directory-t, --template <name>
- The name or GitHub URL of the template to use for the new project