13 releases (7 breaking)

Uses new Rust 2021

new 0.8.0 Sep 21, 2022
0.6.0 Aug 31, 2022
0.3.0 Jul 25, 2022

#197 in Command line utilities

Download history 7/week @ 2022-06-05 2/week @ 2022-06-12 2/week @ 2022-06-19 89/week @ 2022-07-03 35/week @ 2022-07-10 29/week @ 2022-07-17 54/week @ 2022-07-24 13/week @ 2022-07-31 52/week @ 2022-08-07 23/week @ 2022-08-14 32/week @ 2022-08-21 17/week @ 2022-08-28 29/week @ 2022-09-04 36/week @ 2022-09-11 30/week @ 2022-09-18

117 downloads per month

Apache-2.0

140KB
855 lines

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

Dependencies

~64MB
~1M SLoC