nushell/crates/nu-command/tests/format_conversions
JT 786ba3bf91
Input output checking (#9680)
# Description

This PR tights input/output type-checking a bit more. There are a lot of
commands that don't have correct input/output types, so part of the
effort is updating them.

This PR now contains updates to commands that had wrong input/output
signatures. It doesn't add examples for these new signatures, but that
can be follow-up work.

# User-Facing Changes

BREAKING CHANGE BREAKING CHANGE

This work enforces many more checks on pipeline type correctness than
previous nushell versions. This strictness may uncover incompatibilities
in existing scripts or shortcomings in the type information for internal
commands.

# 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 -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- -c "use std testing; testing run-tests --path
crates/nu-std"` to run the tests for the standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# 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-07-14 15:20:35 +12:00
..
bson.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
csv.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
html.rs Parameter defaults to $nu.scope.commands (#9152) 2023-05-11 13:59:56 -05:00
json.rs Fix warnings and old names (#8457) 2023-03-15 18:54:55 +13:00
markdown.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
mod.rs REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
nuon.rs Remove proptests for nuon writing/parsing (#8688) 2023-03-31 17:15:16 +02:00
ods.rs refactor: change column names from 'Column*' to 'column*' (#4556) 2022-02-19 19:26:47 -05:00
ssv.rs refactor: change column names from 'Column*' to 'column*' (#4556) 2022-02-19 19:26:47 -05:00
toml.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
tsv.rs Additional flags for commands from csv and from tsv (#8398) 2023-03-16 17:49:46 -05:00
url.rs Rename to url command to url build-query (#7702) 2023-01-15 10:16:29 -08:00
xlsx.rs refactor: change column names from 'Column*' to 'column*' (#4556) 2022-02-19 19:26:47 -05:00
xml.rs Fix warnings and old names (#8457) 2023-03-15 18:54:55 +13:00
yaml.rs Fix and Allow Number and Boolean type to be key in from yaml (#7607) 2022-12-27 08:28:24 -08:00