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

feat(nu): Make the completion scripts more general #5118

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Conversation

nibon7
Copy link
Contributor

@nibon7 nibon7 commented Sep 11, 2023

The generated scripts can be used as script, module and overlay.

  • script source completion_script.nu

  • module use completion_script.nu *

  • overlay overlay use completion_script.nu

Closes #5117

@nibon7 nibon7 force-pushed the nu branch 2 times, most recently from c291200 to d4d8d7b Compare September 11, 2023 11:36
@nibon7 nibon7 changed the title feat(nu): allow the generated completion scripts to be used with use and overlay use feat(nu): Make the completion scripts more genernal Sep 11, 2023
@nibon7 nibon7 changed the title feat(nu): Make the completion scripts more genernal feat(nu): Make the completion scripts more general Sep 11, 2023
The generated scripts can be used as script, module and overlay.

* script
  `source completion_script.nu`

* module
  `use completion_script.nu *`

* overlay
  `overlay use completion_script.nu`
@epage epage merged commit 0792aae into clap-rs:master Sep 11, 2023
22 checks passed
@nibon7 nibon7 deleted the nu branch September 12, 2023 00:43
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 this pull request may close these issues.

Allow the generated nushell completion scripts to be used as module and overlay
2 participants