Skip to content

Port before_v0.60 parse_aws_s3_ls.nu - #1086

Merged
fdncred merged 1 commit into
nushell:mainfrom
Kissaki:before60
Apr 19, 2025
Merged

fdncred merged 1 commit into
nushell:mainfrom
Kissaki:before60

Conversation

@Kissaki

@Kissaki Kissaki commented Apr 19, 2025

Copy link
Copy Markdown
Contributor

Tested with https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html example output

Note that the script has a placeholder parameter s3://your-bucket-and-path. The script is moved into the sourced folder like all the other ported scripts from the cool_oneliners folder before it, but sourcing it as-is is not meaningful.

This ports the last file in before_v0.60, consequently resolving #221.

Tested with https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html example output

Note that the script has a placeholder parameter `s3://your-bucket-and-path`.
The script is moved into the `sourced` folder like all the other ported scripts from the cool_oneliners folder before it,
but sourcing it as-is is not meaningful.

This ports the last file in `before_v0.60`, consequently resolving nushell#221.
@Kissaki

Kissaki commented Apr 19, 2025

Copy link
Copy Markdown
Contributor Author

Given that it is not directly source-able should it be in a different folder? I was not able to identify an appropriate folder in the root folder, then falling back to putting it next to the other scripts that were next to it.

@fdncred

fdncred commented Apr 19, 2025

Copy link
Copy Markdown
Contributor

Why is it not directly source-able? Do you mean that you can source it but it won't work because the bucket path is most likely wrong?

@Kissaki

Kissaki commented Apr 19, 2025

Copy link
Copy Markdown
Contributor Author

because the bucket path is most likely wrong

yes, because it references/targets s3://your-bucket-and-path

@fdncred

fdncred commented Apr 19, 2025

Copy link
Copy Markdown
Contributor

ya, i think it's fine here. thanks!

@fdncred
fdncred merged commit bb19fdd into nushell:main Apr 19, 2025
@Kissaki
Kissaki deleted the before60 branch April 19, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants