Skip to main content

pump-gcp-radar

Extra commands for gcp-radar, added through its plugin hook (gcp_radar.commands entry points, gcp-radar 1.3.0+).

Install

pip install pump-gcp-radar

Usage

pump-gcp-radar runs the normal gcp-radar CLI with this package's commands added:

pump-gcp-radar --help                       # built-in and pump commands together
pump-gcp-radar run --project my-proj        # gcp-radar built-in
pump-gcp-radar pump-report --project my-proj  # example command from this package

Adding a command

  1. Add a register(subparsers) function in src/pump_gcp_radar/commands.py (add a subparser and set_defaults(func=handler)).

  2. Register it in pyproject.toml:

    [project.entry-points."gcp_radar.commands"]
    my-command = "pump_gcp_radar.commands:register_my_command"
    
  3. Reinstall (pip install -e .) so the entry point is picked up.

Command names can't clash with gcp-radar's built-ins (inventory, commitments, billing, diagram, run); clashing plugins are skipped with a warning.

Development

pip install -e ".[dev]"
pytest

Release files for pump-gcp-radar 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pump-gcp-radar 0.1.0
File Size Uploaded
pump_gcp_radar-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pump-gcp-radar 0.1.0
File Interpreter ABI Platform
pump_gcp_radar-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / pump_gcp_radar-0.1.0.tar.gz

Download URL pump_gcp_radar-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
29751816d46375dfc912bf82c0002fde62d841072abc46eada0f13a0be5ea087
BLAKE2b-256 checksum
How to use checksums
3059227233546f649e4124cee199016038f79355bbd779c471fba4661318f13e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / pump_gcp_radar-0.1.0-py3-none-any.whl

Download URL pump_gcp_radar-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
523eb8718141667f3a420ffba1fac471bb0d3d8bb989e283152d081353124328
BLAKE2b-256 checksum
How to use checksums
af73221190a93566423c7340df8ca396f4b9ca69e2622756b9df411b68d982d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page