xenvsync

Usage Examples

A command cookbook organized by outcomes and team maturity, from first setup to audit and recovery operations.

Command Intent Map

IntentPrimary commandsBest fit team
Bootstrap a secure projectxenvsync init + xenvsync pushSolo / Startup
Run app without plaintext on diskxenvsync run -- <cmd>All
Team key onboardingxenvsync keygen + whoami + team addStartup / Enterprise
Pipeline safety gatexenvsync doctor + verifyEnterprise
Access revocationxenvsync rotate --revokeStartup / Enterprise

Solo: Build Fast, Stay Safe

Encrypt local env, catch drift early, and run app in-memory with no plaintext file writes.

Solo recipebash
$ xenvsync init
$ xenvsync push
$ xenvsync diff
$ xenvsync run -- go run ./cmd/api
$ xenvsync status

Startup: Team Collaboration + CI

Onboard member keys, keep CI keys runtime-only, and align staging workflows across local and pipeline runs.

Startup recipebash
$ xenvsync keygen && xenvsync whoami
$ xenvsync team add alice <alice-pubkey>
$ xenvsync team add bob <bob-pubkey>
$ xenvsync push --env staging
$ xenvsync run --env staging -- npm test

Enterprise: Governance + Incident Response

Enforce health gates, export for infra pipelines, and run revocation rotation when offboarding or exposure is suspected.

Enterprise recipebash
$ xenvsync doctor --env production
$ xenvsync verify --env production
$ xenvsync export --env production --format=tfvars > secrets.auto.tfvars
$ terraform apply
$ xenvsync rotate --revoke former-member --env production
$ xenvsync push --env production

More Detailed Paths

Use-Case Deep Dive

Narrative paths across team maturity and responsibility boundaries.

Open use-cases

Workflow Playbooks

Complete pipelines for onboarding, promotion, and rotation.

Open workflows

Command Reference

Full command and flag semantics for deeper customization.

Open commands