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

Project specific custom commands #29

Open
arjunmahishi opened this issue Feb 22, 2024 · 0 comments
Open

Project specific custom commands #29

arjunmahishi opened this issue Feb 22, 2024 · 0 comments
Labels
feature good first issue Good for newcomers

Comments

@arjunmahishi
Copy link
Owner

I have a custom command called test. I generally keep re-writing when I switch from codebase to codebase. We could potentially have a project specific list of custom commands.

Approach

  • The project can be scoped based on the git root. If its not a git tracked directory, it can assume the current directory as the root
  • We don't have to store the custom command files in the project directory. We can still store it in the same custom directory path. We can just add a prefix of the project name to the files to identify them. This way, we can toggle this feature on/off without loosing the commands. When toggled on, the custom commands should only list the project specific ones. When toggled off, it should list all commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant