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

CLI overwriting default config --generate-config with -y requires prompt #16054

Open
pffijt opened this issue Mar 25, 2024 · 1 comment
Open
Labels

Comments

@pffijt
Copy link

pffijt commented Mar 25, 2024

Description

When overwriting the Jupyter Lab config with CLI the option -y does not work. It is still prompting for the overwrite.

$ jupyter lab --generate-config -y

returns:

Overwrite /home/user/.jupyter/jupyter_lab_config.py with default config? [y/N]

Reproduce

  1. Install Jupyter Lab via pip on fresh Python 3.11 installation.
  2. Run command jupyter lab --generate-config -y twice.

Expected behavior

When running jupyter lab --generate-config -y it should not require a prompt.

Context

  • Operating System and version: Ubuntu 22.04
  • Browser and version: -
  • JupyterLab version: 4.1.5
@pffijt pffijt added the bug label Mar 25, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Mar 25, 2024
Copy link

welcome bot commented Mar 25, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@pffijt pffijt changed the title CLI overwriting default config --generate-config does not work with -y CLI overwriting default config --generate-config with -y requires prompt Mar 25, 2024
@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants