Skip to main content

Agent-friendly CLI for the Evergreen API

Project description

evergreen-cli

Agent-friendly CLI for the Evergreen requirements platform.

Install

pip install evergreen-cli

Login

Evergreen is currently in alpha. Point the CLI at the alpha API when logging in:

evergreen login --url https://api.alpha.evergreen.live/api

This will prompt for your API key interactively (keeps it out of shell history). You can also pass the key directly for CI/scripting:

evergreen login --url https://api.alpha.evergreen.live/api --key evg_your_api_key

You can also set the URL via environment variable:

export EVERGREEN_API_URL=https://api.alpha.evergreen.live/api

Usage

# List products
evergreen products

# Show requirement tree
evergreen <product_id> tree

# View backlog
evergreen <product_id> backlog

# View a requirement with comments
evergreen <product_id> requirement <id>

# Post a comment
evergreen <product_id> comment <requirement_id> "your message"

# List revisions (optionally filter by state)
evergreen <product_id> revisions
evergreen <product_id> revisions --state drafting

# View a revision with its changes
evergreen <product_id> revision <id>

# Create a new draft revision
evergreen <product_id> revision draft --title "My revision"

# Add a change to a draft revision
evergreen <product_id> revision <id> add-change --type create --title "New req"

# Discard a draft revision
evergreen <product_id> revision <id> discard

Run evergreen --help for the full command list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evergreen_cli-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evergreen_cli-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file evergreen_cli-0.1.0.tar.gz.

File metadata

  • Download URL: evergreen_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evergreen_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d8c2cf431b423673571737c8d1900f2bd415e1b8adc6fc17c657a53c45a5b24f
MD5 ee360ed9e8e8c2b85ce612e9d6870213
BLAKE2b-256 9baccf7138d2e56787ac0181a596924f9c83d0395e9baa4a332140663b6ae5a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for evergreen_cli-0.1.0.tar.gz:

Publisher: publish-cli.yml on hltprod/evergreen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evergreen_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: evergreen_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evergreen_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6633da0bec51e37fa97be0cb0562095a869b7fe95cb5d3a0302547a47349be0
MD5 61ae09de8f10cb7061b3d75294a8c42c
BLAKE2b-256 f7e4764cd6eea82a3b02b7047994358591512c830e7d8926409d22d6f77680da

See more details on using hashes here.

Provenance

The following attestation bundles were made for evergreen_cli-0.1.0-py3-none-any.whl:

Publisher: publish-cli.yml on hltprod/evergreen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page