GraphQL TUI¶
nbx graphql --help¶
Usage: nbx graphql [OPTIONS] QUERY
Execute a GraphQL query against the NetBox API, or launch the GraphQL TUI.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * query TEXT GraphQL query string, or 'tui' to launch the GraphQL │
│ TUI │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --variables -v TEXT GraphQL variables: one JSON object, or repeat for │
│ multiple key=value pairs │
│ --json Output raw JSON │
│ --yaml Output YAML │
│ --theme For `nbx graphql tui`: list available themes or │
│ launch with `--theme <name>`. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
exit 0 3.736s
nbx graphql tui --help¶
Usage: nbx graphql [OPTIONS] QUERY
Execute a GraphQL query against the NetBox API, or launch the GraphQL TUI.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * query TEXT GraphQL query string, or 'tui' to launch the GraphQL │
│ TUI │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --variables -v TEXT GraphQL variables: one JSON object, or repeat for │
│ multiple key=value pairs │
│ --json Output raw JSON │
│ --yaml Output YAML │
│ --theme For `nbx graphql tui`: list available themes or │
│ launch with `--theme <name>`. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
exit 0 3.667s
nbx graphql tui --theme¶
exit 0 3.919s
nbx demo graphql --help¶
Usage: nbx demo graphql [OPTIONS] QUERY
Execute a GraphQL query against the demo NetBox API, or launch the GraphQL
TUI.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * query TEXT GraphQL query string, or 'tui' to launch the GraphQL │
│ TUI │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --variables -v TEXT GraphQL variables: one JSON object, or repeat for │
│ multiple key=value pairs │
│ --json Output raw JSON │
│ --yaml Output YAML │
│ --theme For `nbx demo graphql tui`: list available themes │
│ or launch with `--theme <name>`. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
exit 0 3.578s
nbx demo graphql tui --help¶
Usage: nbx demo graphql [OPTIONS] QUERY
Execute a GraphQL query against the demo NetBox API, or launch the GraphQL
TUI.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * query TEXT GraphQL query string, or 'tui' to launch the GraphQL │
│ TUI │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --variables -v TEXT GraphQL variables: one JSON object, or repeat for │
│ multiple key=value pairs │
│ --json Output raw JSON │
│ --yaml Output YAML │
│ --theme For `nbx demo graphql tui`: list available themes │
│ or launch with `--theme <name>`. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
exit 0 3.763s
nbx demo graphql tui --theme¶
exit 0 4.188s