Replies: 1 comment 1 reply
-
Thank you for using Gaze and for sharing your thoughtful suggestions. Your proposal helped me understand the demand for supporting “different commands for the same extension.” While implementing such a feature is technically feasible, it introduces additional complexity to both the configuration and the overall user experience. To be honest, it’s challenging to envision a scenario where many users would incorporate ConclusionInstead of adding this feature, I recommend these simpler alternatives:
gaze -f rubocop.yaml .
gaze -c "rubocop {{file}}" . If you run this command daily to the point where you feel the command is too long, it may be a sign to create an alias for it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks for this tool - I am always looking for easy to use "watch and run" tools.
One thing that I think would be very helpful, is the ability to define different command templates for the same extension.
For example, the default for
*.rb
file would be - as it is now -ruby {{ file }}
But, sometimes I want to lint it with rubocop, so I would love to run
gaze lint .
and have it run the appropriate rubocop command.As for the configuration format to support this, my first intuition is to have an additional optional config option:
Furthermore, it could be useful to run a specific "task" on multiple files with different extensions.
Imagine that you also have a
lint
option for other file types, you would be able to "enter lint mode" by running:Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions