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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hatch config edit #816

Open
FollowTheProcess opened this issue Apr 7, 2023 · 0 comments 路 May be fixed by #817
Open

feat: hatch config edit #816

FollowTheProcess opened this issue Apr 7, 2023 · 0 comments 路 May be fixed by #817

Comments

@FollowTheProcess
Copy link

FollowTheProcess commented Apr 7, 2023

Hello 馃憢馃徎 Love the project, great work! This is the closest thing python has to a fully integrated experience like cargo for rust and something I've wanted forever.

Got an idea for a potential tiny improvement: A new subcommand to config that allows you to edit the config file in $EDITOR. Should be pretty easy to do as click supports this out of the box, I've already played around with it and got a working example in a fork

I've called the command hatch config edit and for now it just calls out to click's edit which looks for $EDITOR.

It might be an idea to have a new config variable to allow people to set their editor in the config.toml in case they can't rely on $EDITOR?

Would love to get your thoughts, I've raised a draft PR from my working example just wanted to file an issue too for tracking etc.

Here it is in action:

image

@FollowTheProcess FollowTheProcess linked a pull request Apr 7, 2023 that will close this issue
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 a pull request may close this issue.

1 participant