
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
A beautiful CLI tool to manage multiple Cloudflare accounts and deploy Workers with ease
A beautiful CLI tool to manage multiple Cloudflare accounts and deploy Workers/Pages with ease
npx wrangler if global installation is not found# Global installation (recommended)
npm install -g cfman
# Or use with npx (no installation needed)
npx cfman --help
# Add your first Cloudflare account
cfman token add --name production --token your_cf_token_here
# Check status with beautiful output
cfman status
# Use any Wrangler command with account management
cfman wrangler --account production whoami
# Add a new account token with guided prompts
cfman token add --name staging --token cf_abc123...
# List all configured accounts (tokens never shown)
cfman token list
# Remove an account with confirmation
cfman token remove staging
# Show config file locations and security info
cfman token info
# Run ANY Wrangler command with account management
cfman wrangler --account myaccount whoami
cfman wrangler --account myaccount pages project list
cfman wrangler --account myaccount d1 list
cfman wrangler --account myaccount kv namespace list
# Examples for Pages
cfman wrangler --account myaccount pages deploy out
cfman wrangler --account myaccount pages deployment list
# Examples for Workers
cfman wrangler --account myaccount deploy
cfman wrangler --account myaccount tail my-worker
cfman wrangler --account myaccount secret put SECRET_KEY
# Works without global Wrangler installation (uses npx automatically)
cfman wrangler --account myaccount whoami
# Check current configuration with beautiful interface
cfman status
# Interactive setup wizard for new users
cfman setup
Tokens are securely stored in your system's config directory:
~/.config/cfman/tokens.json%APPDATA%/cfman/tokens.jsonFile permissions are set to 600 (owner read/write only) for security.
cfman is a complete overlay on top of Wrangler supporting:
cfman wrangler --account name <command>npx wrangler automatically if global Wrangler is not installedwrangler auth login when no tokens are configuredWrangler Installation:
npm install -g wrangler (faster execution)npx wrangler as fallbackBefore cfman:
# Switch between accounts manually
export CLOUDFLARE_API_TOKEN=cf_token_for_client_a
wrangler deploy --env production
export CLOUDFLARE_API_TOKEN=cf_token_for_client_b
wrangler pages deploy out
With cfman (Universal Overlay):
# Clean, simple, safe - Works with ANY Wrangler command
cfman wrangler --account client-a deploy --env production
cfman wrangler --account client-b pages deploy out
cfman wrangler --account client-a d1 create my-database
cfman wrangler --account client-b kv namespace create my-kv
# Beautiful interface with helpful guidance
cfman status # See what's configured
cfman setup # Interactive setup wizard
# Clone the repository
git clone https://github.com/novincode/cfman.git
cd cfman
# Install dependencies
pnpm install
# Build the project
pnpm build
# Test locally
./dist/index.js --help
# Build for production
pnpm build
# Run in development mode with auto-reload
pnpm dev
# Publish to npm
npm publish
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)MIT © Shayan Moradi
⭐ Star on GitHub • 📦 View on NPM • 🐛 Report Bug • 💬 Discussions
FAQs
A beautiful CLI tool to manage multiple Cloudflare accounts and deploy Workers with ease
We found that cfman demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.