grafbase

Crates.iografbase
lib.rsgrafbase
version0.19.2
sourcesrc
created_at2022-05-16 13:28:24.994225
updated_at2023-05-12 20:14:15.431775
descriptionThe Grafbase command line interface
homepagehttps://grafbase.com
repositoryhttps://github.com/grafbase/grafbase
max_upload_size
id587656
size1,242,944
(grafbase-ci)

documentation

README

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
Commit count: 5396

cargo fmt