Sign inSign up

hanyouqing/infra-cli

By hanyouqing

Updated 3 days ago

Pluggable DevOps CLI wrapping Ansible, Terragrunt, Terraform, Cloud SSO, and related tools.

Image
Integration & delivery
Developer tools
Databases & storage
0

39

hanyouqing/infra-cli repository overview

Also see: https://pypi.org/project/infra-cli/

Features

  • Unified infra surface for setup, cloud SSO, inventory, and IaC wrappers
  • Interactive REPL: infra shell (Tab completion, history, pipes, prod guard)
  • Agent work mode: infra work (skills, connectors, MCP)
  • Local HTML command reference: infra server start (optional MySQL/Redis/Mongo DB tools)

Install

pipx install infra-cli
pipx inject infra-cli '.[aws]'      # optional
source ~/.infra/env.sh              # after first run, or: pipx ensurepath
infra doctor

From checkout: pipx install . · Upgrade: infra setup upgrade-cli --pypi
Full macOS/Linux bootstrap: INSTALL.md · docs/installation.md
Docker (host network): docs/docker.md · docker compose up

Quick start

setup
infra setup doctor
infra setup aws
infra setup terraform
aws
infra aws login
infra aws select
infra aws profiles --account
terraform / terragrunt
infra terraform -e stg -s platform/example
infra terragrunt plan -e stg -s platform/example
shell
infra shell
server
infra server start                  # needs: pipx inject infra-cli '.[server]'
infra server start --enable-mysql --enable-redis   # + '.[server-mysql]' / '.[server-redis]'

DB tools open at /tools; connect forms keep credentials in process memory only. Mutations need --enable-writes. Non-loopback bind with DB tools requires --allow-remote.

Tag summary

Content type

Image

Digest

sha256:c64989028

Size

113.6 MB

Last updated

3 days ago

docker pull hanyouqing/infra-cli