Skip to content

Usage & Configuration

Terminal window
# Set your API URL
gis.ph config set apiUrl https://api.gis.ph
# Set your API key
gis.ph config set apiKey sk_live_abc123
Terminal window
# Get configuration value
gis.ph config get <key>
# List all configuration
gis.ph config list
# Delete configuration
gis.ph config delete <key>
Terminal window
# Enable/disable automatic update checks
gis.ph config auto-update enable
gis.ph config auto-update disable
Terminal window
# Update to latest version
gis.ph update
# Check for updates without installing
gis.ph update --check
# Force update even if on latest version
gis.ph update --force

The CLI supports the following environment variables:

  • API_URL - Base URL for the API
  • API_KEY - API authentication key

These can be set in a .env file or exported in your shell.