-
-
Notifications
You must be signed in to change notification settings - Fork 324
Description
Need Your Voice! Please Reaction and Leave Comment
More Linux users have feedbacks that ast-grep should drop the sg command. To understand the issue better, ast-grep welcomes Linux users' voice!
Please share your experience to us. A recommended outline:
- What device are you installing ast-grep?: Personal device, Server, User's computer as a dependency
- How are you using sg the shadow-utils?
- How sg the ast-grep command impact you?: Break your workflow/server script? ast-grep is overridden by shadow-utils? Or because it is a bad practice?
If we have > 10 user share their stories or > 20 upvote reactions, ast-grep will consider the deprecation process.
Orignal Issue
The cli command name sg is already taken by a shadow tools command
NAME
sg - execute command as different group ID
Cf. 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 have prefix=~/.local configured for npm). Maybe that is also due to the name collision.
I actually like the pattern of .g for grep commands. Pitty that ag is already taken.
How about cg for code-grep?