Skip to content

feat(external): add curlconverter to external CLI registry#478

Open
Leexzyy wants to merge 1 commit intojackwener:mainfrom
Leexzyy:feat/add-curlconverter
Open

feat(external): add curlconverter to external CLI registry#478
Leexzyy wants to merge 1 commit intojackwener:mainfrom
Leexzyy:feat/add-curlconverter

Conversation

@Leexzyy
Copy link
Copy Markdown

@Leexzyy Leexzyy commented Mar 26, 2026

Summary

Add curlconverter to opencli external CLI registry.

What is curlconverter?

curlconverter converts curl commands to code in 48 programming languages.

Usage

opencli curlconverter --language python - <<'EOF'
curl -X POST https://api.example.com -H 'Content-Type: application/json' -d '{"key":"value"}'
EOF

Test Plan

  • Registered via opencli register curlconverter
  • opencli curlconverter --language python works
  • opencli curlconverter --language javascript works

Add curlconverter - a tool to convert curl commands to Python,
JavaScript, Go, PHP and 40+ other programming languages.

Usage:
  opencli curlconverter --language python - <<< 'curl https://example.com'

Registered via: opencli register curlconverter
Copy link
Copy Markdown
Contributor

@Astro-Han Astro-Han left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing: the other npm-installed entries (lark-cli, wecom-cli, vercel) use default: instead of mac: since npm install -g is cross-platform. This should be consistent:

  install:
    default: "npm install -g curlconverter"

Also heads-up: this branch is based on an older main, so it'll likely conflict on merge (several entries have been added after docker since then). A rebase on latest main should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants