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

FR: jj setup command to prompt user for name/email/settings #3597

Open
Cretezy opened this issue Apr 29, 2024 · 1 comment
Open

FR: jj setup command to prompt user for name/email/settings #3597

Cretezy opened this issue Apr 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Cretezy
Copy link
Collaborator

Cretezy commented Apr 29, 2024

Is your feature request related to a problem? Please describe.
When setting up jj, everyone must run jj config set --user user.name ... && jj config set --user user.email ....

Describe the solution you'd like
A command such as jj setup which asks the user for their name, email, and other relevant settings. This command can use the current values set in the config, as well as read from .gitconfig for name/email to simplify setup.

This could use https://github.com/mikaelmello/inquire

Example flow:

$ jj setup
? What is your name: 
? What is your email:

I can make a PR if this is approved.

@PhilipMetzger
Copy link
Collaborator

I don't think that a command is necessary for that, although it probably should land in jj init when we have multiple backends see #2747 (comment).

@PhilipMetzger PhilipMetzger added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants