nushell/crates/nu-command/src/platform/ansi
WindSoilder 2a9226a55c
refactor: use input_handler::operate in ansi_strip command (#7888)
# Description

While investigating `do --ignore-errors` issue, just found that
`ansi_strip` command using a custom `operate` function(which is not
needed), this pr is just a refactor

# User-Facing Changes

_(List of all changes that impact the user experience here. This helps
us keep track of breaking changes.)_

# 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-01-28 08:11:21 -06:00
..
ansi_.rs add magenta to ansi command as synonym for purple (#7785) 2023-01-17 19:50:55 -06:00
gradient.rs Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
link.rs Ansi link (#7751) 2023-01-15 17:23:37 +02:00
mod.rs Ansi link (#7751) 2023-01-15 17:23:37 +02:00
strip.rs refactor: use input_handler::operate in ansi_strip command (#7888) 2023-01-28 08:11:21 -06:00