nushell/crates/nu-command
Benoît Cortier 173d60d59d
Deprecate hash base64, extend decode and add encode commands (#5863)
* feat: deprecate `hash base64` command

* feat: extend `decode` and `encode` command families

This commit
- Adds `encode` command family
- Backports `hash base64` features to `encode base64` and `decode base64` subcommands.
- Refactors code a bit and extends tests for encodings
- `decode base64` returns a binary `Value` (that may be decoded into a string using `decode` command)

* feat: add `--binary(-b)` flag to `decode base64`

Default output type is now string, but binary can be requested using this new flag.
2022-06-26 00:35:23 +03:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
tests Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
build.rs Look up git commit hash ourselves, drop libgit2 dependency (#5548) 2022-05-16 13:57:25 +12:00
Cargo.toml Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00