nushell/crates/nu-cli/src/commands
Stefan Holderbach 7c1487e18d
Use int type name consistently (#10579)
# Description
When referring to the type use `int` consistently. Only when referring
to the concept of integer numbers use `integer`.

- Fix `random integer` to `random int` tests
  - Forgot in #10520
- Use int instead of integer in error messages
- Use int type name in bits commands
- Fix messages in `for` examples
- Use int typename in `into` commands
- Use int typename in rest of commands
- Report errors in `nu-protocol` with int typename

Work for #10332 

# User-Facing Changes
User errorrs should now use `int` so you can easily find the necessary
commands or type annotations.

# Tests + Formatting
Only two tests found that needed updating
2023-10-03 18:24:32 +02:00
..
commandline.rs Use int type name consistently (#10579) 2023-10-03 18:24:32 +02:00
default_context.rs Break up interdependencies of command crates (#9429) 2023-06-14 23:12:55 +02:00
history_session.rs Move CLI related commands to nu-cli (#8832) 2023-04-10 10:56:47 +12:00
history.rs Adapt for improved history isolation in reedline (#10402) 2023-09-18 13:49:26 +08:00
keybindings_default.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
keybindings_list.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
keybindings_listen.rs Add kitty protocol config to nushell (#10540) 2023-09-29 15:52:34 +02:00
keybindings.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
mod.rs Move CLI related commands to nu-cli (#8832) 2023-04-10 10:56:47 +12:00