-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would a url decode command be welcome? #10563
Comments
I wouldn't have a problem with it. Not sure what other maintainers think though. Seems complimentary to me. |
This sounds similar to |
then should maybe having all these in a special |
if that's what |
I might be missing something but I can't find said
With the above context, I personally still believe |
sounds fair to me 👍 also, i feel like |
Had a free morning so I've come up with and performed initial tests on an implementation, I reckon I'm going to polish it some more then go ahead and make a PR within the next few days if no further issues are raised. Hopefully that's the right way to go about this, it's my first time contributing so I'm trying to be extra mindful and not too annoying 😅 |
Implemented URL decoding as a url subcommand, created corresponding unit tests. The logic, examples and descriptions were based on the existing `url encode` command. Resolves #10563 # Description Added a new `url decode` command to compliment the existing `url encode`, as proposed by myself in #10563. It takes a string, list of strings or cell path and produces the corresponding decoded strings. ![image](https://github.com/nushell/nushell/assets/4030336/815a34e9-7ceb-4d09-9d74-e700ba513b17) # User-Facing Changes New url subcommand `url decode`, as described above. # Tests + Formatting I've added unit tests for the new subcommand and ensured all actions outlined below showed no issues. - [x] `cargo fmt --all -- --check` - [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` - [x] `cargo test --workspace` - [x] `cargo run -- -c "use std testing; testing run-tests --path crates/nu-std"`
Implemented URL decoding as a url subcommand, created corresponding unit tests. The logic, examples and descriptions were based on the existing `url encode` command. Resolves nushell#10563 # Description Added a new `url decode` command to compliment the existing `url encode`, as proposed by myself in nushell#10563. It takes a string, list of strings or cell path and produces the corresponding decoded strings. ![image](https://github.com/nushell/nushell/assets/4030336/815a34e9-7ceb-4d09-9d74-e700ba513b17) # User-Facing Changes New url subcommand `url decode`, as described above. # Tests + Formatting I've added unit tests for the new subcommand and ensured all actions outlined below showed no issues. - [x] `cargo fmt --all -- --check` - [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` - [x] `cargo test --workspace` - [x] `cargo run -- -c "use std testing; testing run-tests --path crates/nu-std"`
Question
Hey all, I've been wondering if a PR implementing a
url decode
comand would be welcome, essentially doing the opposite of the existingurl encode
implemented here. Unless I'm missing something, said feature doesn't exist yet so my intention is to go ahead and implement it if this sounds reasonable, as per the contribution guide.Additional context and details
No response
The text was updated successfully, but these errors were encountered: