Skip to main content

Evolution CLI - a developer toolbox for setting up dev machines

Project description

Evolution CLI (Develop by Dev And for Dev)

codecov CI

Awesome evo_cli created by maycuatroi

Install it from PyPI

pip install evo-cli

Available Commands

evo is built with click and rich. Run evo --help or evo <command> -h for colorized help, option tables, and examples.

SSH Setup

Set up SSH with key-based authentication:

evo setupssh

Options:

  • -H, --host - SSH server hostname or IP address
  • -u, --user - SSH username
  • -p, --password - SSH password (prefer the interactive prompt)
  • -P, --port - SSH port (default: 22)
  • -i, --identity - Existing private key to install instead of generating one

Miniconda Installation

Install Miniconda with cross-platform support:

evo miniconda

Options:

  • -p, --prefix - Installation directory (default: ~/miniconda3 or %USERPROFILE%\miniconda3)
  • -f, --force - Force reinstallation even if Miniconda is already installed

Cloudflare SSH Tunnel

Expose this Ubuntu machine's SSH server through a Cloudflare named tunnel, so you can reach it from anywhere without opening a public inbound port:

evo cfssh -H dev.example.com

It installs cloudflared, logs in to Cloudflare, creates a named tunnel, writes /etc/cloudflared/config.yml with an ssh:// ingress rule, routes a proxied DNS record, and installs the cloudflared systemd service. Requires a Cloudflare account with a domain managed in Cloudflare.

Options:

  • -H, --hostname - Public hostname for SSH, e.g. dev.example.com
  • -n, --name - Tunnel name (default: first label of the hostname)
  • -P, --ssh-port - Local SSH port to forward (default: 22)
  • --no-service - Configure only, do not install the systemd service

To connect from a client machine, install cloudflared and add to ~/.ssh/config:

Host dev.example.com
  User <your-user>
  ProxyCommand cloudflared access ssh --hostname %h

Fix Claude Code

Detect and fix the Claude Code 2.1.154-2.1.158 tool-result delivery bug (commands run but their output is returned to the model empty, duplicated, or out of order):

evo f-claude

It checks the installed version against the affected range, disables the auto-updater in ~/.claude/settings.json (backing it up first), downgrades to a known-good build, respawns background sessions, and verifies the result.

Options:

  • -c, --check - Diagnose only; make no changes
  • --pin-version - Known-good version to install when downgrading (default: 2.1.153)
  • --no-downgrade - Only disable the auto-updater; skip the reinstall
  • -y, --yes - Skip the confirmation prompt
  • -f, --force - Apply the fix even if the version is not in the affected range
  • --unpin - Undo the fix: re-enable the auto-updater and install the latest build

Credentials

evo owns the omelet credential store. The source of truth is a folder of one JSON file per service (~/.omelet.d/credentials/), which compiles into a flat ~/.omelet.json that older consumers read directly.

evo cred doctor                       # health + expiry of every credential, exit 1 if any expired
evo cred get openai_api_key           # print one value by dotted path, nothing else on stdout
evo cred add openai_api_key           # prompt with no echo, write the folder file, recompile
evo cred refresh --all                # refresh Google OAuth access tokens
evo cred compile                      # rebuild ~/.omelet.json from the folder
evo cred sync push                    # push the folder to a private GitHub repo via gh

Read a value into the environment without it reaching your shell history:

eval "$(evo cred get --export OPENAI_API_KEY openai_api_key)"

Configuration is env-driven, with no personal defaults baked in:

  • OMELET_DIR - store root (default ~/.omelet.d; the folder is $OMELET_DIR/credentials)
  • OMELET_CONFIG - compiled flat file (default ~/.omelet.json)
  • OMELET_SYNC_REPO - required for sync; a private GitHub repo as owner/repo
  • OMELET_SYNC_DIR - folder name inside the sync repo (default credentials)
  • RCLONE_DRIVE_CLIENT_ID / RCLONE_DRIVE_CLIENT_SECRET - OAuth client for the rclone refresh

evo cred sync push refuses to push to a repo whose visibility is not PRIVATE. Never echo a value into a shared terminal or a log; doctor and list only ever print a masked preview.

Harness Repositories

Fast-forward every available repository declared in a harness manifest:

evo harness pull

Run the command from a harness directory or any registered member repository. Use --harness PATH when a repository belongs to multiple harnesses or the harness is not registered.

evo harness pull --harness ~/github/my-project-harness
evo harness pull --repo backend --repo frontend
evo harness pull --dry-run

The command reads harness.yaml and its optional harness.local.yaml overlay. Repositories marked present: false are skipped. Repositories with uncommitted changes are not modified, and every pull uses git pull --ff-only so the command never creates merge commits.

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

evo_cli-0.12.1.tar.gz (123.3 kB view details)

Uploaded Source

Built Distribution

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

evo_cli-0.12.1-py3-none-any.whl (121.5 kB view details)

Uploaded Python 3

File details

Details for the file evo_cli-0.12.1.tar.gz.

File metadata

  • Download URL: evo_cli-0.12.1.tar.gz
  • Upload date:
  • Size: 123.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for evo_cli-0.12.1.tar.gz
Algorithm Hash digest
SHA256 5faa1cc840898c4c6f6e0d6d7475af7e5bb4578a7b0389a4d439e7a70106d27e
MD5 16836aea042aaca27646333fcb45440d
BLAKE2b-256 d761129c28dedafe18bc5489fa84eb9138fbd6f6190115939cd118484976149b

See more details on using hashes here.

File details

Details for the file evo_cli-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: evo_cli-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 121.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for evo_cli-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6087c4df894b424ea9f2bc919f14a00529a6151612bac1230d233b6725b182b9
MD5 f7f2a58aa89d56924ad968a3db42843d
BLAKE2b-256 39d0fcd7ba82ad5f2965b5c8b72ee84e9d44b07454184058757f41a605bd1b22

See more details on using hashes here.

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