Interactive CLI tools for managing Fly.io apps, databases, and configurations.
Run the interactive tool selector:
pnpm cdwrOr run category-specific CLIs:
nx run infisical:cliOr run individual tools directly:
nx run db-tools:drop-db
nx run fly-tools:restart-app
nx run fly-tools:app-info
nx run fly-tools:patch-config
nx run infisical:app-tenants
nx run infisical:data
nx run infisical:analysisdrop-db - Drop databases from Fly Postgres cluster Interactive tool for safely dropping databases with confirmation prompts.
restart-app - Restart Fly app machines Select an app and restart its machines with automatic state detection.
app-info - View app information Display machine states, resources, and uptime for Fly apps.
patch-config - Apply configuration patches Apply TOML configuration patches to multiple apps at once.
Interactive selector: nx run infisical:cli
app-tenants - Fetch application tenants
data - Fetch Infisical data
analysis - Analyze Infisical configuration
- Node.js >= 20
- Fly CLI (
flyctl) installed and authenticated for Fly tools - PostgreSQL access credentials for database tools
All tools follow a dual-mode pattern and can be imported as library functions:
import { restartApp } from './tools/fly-tools/lib/restart-app.js';
await restartApp({ app: 'my-app' });