Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.unpage.ai/llms.txt

Use this file to discover all available pages before exploring further.

The graph command enables you to build and manage the infrastructure knowledge graph, which represents your cloud resources and their relationships.

Usage

unpage graph [OPTIONS] COMMAND [ARGS]...

Commands

CommandDescription
buildBuild a knowledge graph for your cloud infrastructure
logsView graph build logs
statusCheck if graph build is running
stopStop running graph build

Subcommand: build

Builds a knowledge graph by collecting information from all configured infrastructure sources and establishing relationships between resources.

Usage

unpage graph build [OPTIONS]

Options

OptionDescription
--profile TEXTUse profiles to manage multiple graphs [env var: UNPAGE_PROFILE] [default: default]
--interval INTEGERRebuild the graph continuously, pausing for the specified seconds between builds
--backgroundRun in background and return immediately
-h, --helpShow help message and exit

Examples

# Build the graph once
unpage graph build

# Build the graph in the background
unpage graph build --background

# Rebuild the graph every 15 minutes
unpage graph build --interval 900

# Build the graph for a specific profile
unpage graph build --profile production

Subcommand: logs

Shows logs from the most recent graph build or from a currently running background graph build.

Usage

unpage graph logs [OPTIONS]

Options

OptionDescription
--profile TEXTUse profiles to manage multiple graphs [env var: UNPAGE_PROFILE] [default: default]
--follow, -fFollow log output
-h, --helpShow help message and exit

Subcommand: status

Checks if a background graph build is currently running.

Usage

unpage graph status [OPTIONS]

Subcommand: stop

Stops a currently running background graph build.

Usage

unpage graph stop [OPTIONS]