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

Add a stub dfr command #10683

Merged
merged 1 commit into from Oct 11, 2023
Merged

Add a stub dfr command #10683

merged 1 commit into from Oct 11, 2023

Conversation

sholderbach
Copy link
Member

Description

This will only display the list of subcommands.

Prompted by a question on Discord why completions may be missing.
With standard completion settings getting the subcommands doesn't seem
to be a problem but we could add this command for good measure.

User-Facing Changes

New command dfr that does nothing apart from displaying the subcommands and hogging a space in the completions

Tests + Formatting

(-)

This will only display the list of subcommands.

Prompted by a question on Discord why completions may be missing.
With standard completion settings getting the subcommands doesn't seem
to be a problem but we could add this command for good measure.
Copy link
Collaborator

@fdncred fdncred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, this should've been there all along. Thanks!

@amtoine
Copy link
Member

amtoine commented Oct 11, 2023

always nice to not get an error when you run cmd when there is already a cmd sub 🙏

@amtoine amtoine merged commit 81ece18 into nushell:main Oct 11, 2023
19 checks passed
@sholderbach sholderbach deleted the dfr-stub branch October 11, 2023 15:53
hardfau1t pushed a commit to hardfau1t/nushell that referenced this pull request Dec 14, 2023
# Description
This will only display the list of subcommands.

Prompted by a question on Discord why completions may be missing.
With standard completion settings getting the subcommands doesn't seem
to be a problem but we could add this command for good measure.

# User-Facing Changes
New command `dfr` that does nothing apart from displaying the
subcommands and hogging a space in the completions

# Tests + Formatting
(-)
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.

None yet

3 participants