nushell/crates/nu-cli
Jakub Žádník f3ee8b50e3
Revert #7779 (enables back subcommand completions) (#8102)
# Description

Reverts the PR #7779 which breaks subcommand completions. The issues
#7648 and #7754 thus still need fixing.

This reverts commit 8acced5.

# User-Facing Changes

Enables subcommand completions.

Unfortunately, also brings back the completion panic if alias is shorter
than the command name.

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-18 17:38:29 +00:00
..
src Revert #7779 (enables back subcommand completions) (#8102) 2023-02-18 17:38:29 +00:00
tests Revert #7779 (enables back subcommand completions) (#8102) 2023-02-18 17:38:29 +00:00
Cargo.toml Bump rstest from 0.15.0 to 0.16.0 (#8064) 2023-02-13 02:34:09 +00:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00