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
Command name alias: ast-grep and sg #56
Comments
Renaming the command will involve rebranding which I would want to avoid. |
Thank you for your awesome tool. I'm testing it right know and already liking it. As the tool is relative new, I would strongly consider renaming it now. It hurts, sure, but renaming will get harder and harder in the future when it has gained more traction (which it will/has already). Maybe |
+1 to renaming the tool and re-branding sooner rather than later. Judging by the commit history, this project seems to be less than a year old, so changing the name now will be so, so much less painful than it will be to do so later. The original Maybe it could be renamed to |
Good advice! I will try to ship two commands in the installation, one is |
Thank you for your suggestion! ast-grep v5 now adds both |
This is awesome, thank you very much! |
The cli command name
sg
is already taken by a shadow tools commandCf. https://github.com/shadow-maint/shadow
It is installed by default in
/usr/bin/sg
at least on arch-linux.Weirdly
npm install -g @ast-grep/cli
didn’t even install the cli in~/.local/bin
for me (I haveprefix=~/.local
configured for npm). Maybe that is also due to the name collision.I actually like the pattern of
.g
for grep commands. Pitty thatag
is already taken.How about
cg
for code-grep?The text was updated successfully, but these errors were encountered: