Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite CLI in Go #178

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Rewrite CLI in Go #178

merged 2 commits into from
Aug 30, 2024

Conversation

chriskuehl
Copy link
Owner

This rewrites the CLI in Go. It is almost 100% compatible, supporting the same CLI flags, usage, config file, etc. as the old Python version.

The Go version is hopefully easier to distribute: it's just one widely-compatible binary. The Python-based CLI was annoying to distribute because it had a dependency not only on system Python, but also on requests.

The only differences known are (1) slight differences in regex support between Go's regexp package and Python's re module, and (2) fpb --tee no longer inserts a newline at the end of teeing if the input didn't have one. This should be more correct.

@chriskuehl chriskuehl merged commit 9c315dc into main Aug 30, 2024
2 checks passed
@chriskuehl chriskuehl deleted the go-cli branch August 30, 2024 05:14
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.

1 participant