1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

🐛 fix a couple of parser errors (#782)

This is some legwork to the CI
- [x] fix one `get-row.nu` before 0.60, just because it was easy
- [x] `modules/formats/to-ini.nu`
- [x] `modules/git/git-v2.nu`
- [x] `modules/git/git.nu`
- [x] `modules/log/log.nu`
- [x] `modules/weather/weatherdark.nu`
- [x] `sourced/api_wrappers/worlframalpha.nu`
- [x] `sourced/cool-oneliners/pwd-short.nu`
- [x] `sourced/github/branch-protections/branch-protections.nu`
- [x] `sourced/gitlab/gitlab.nu`
- [x] `sourced/misc/nu_defs.nu`
- [x] `sourced/update-path.nu`
- [x] `sourced/webscraping/shell_starts.nu`
I moved some auto-generated commands:
- [x] `ack` 
- [x] `as`
- [x] `curl`
- [x] `fsarprc`
- [x] `fsarpri`
- [x] `godoc`
- [x] `mysql` 
- [x] and `xgettext` 
to custom, so we keep the modifications.
I had to comment some of the flags because the parser is not able to
parse some flags. Those are explained in comments
This commit is contained in:
Auca Coyan 2024-03-10 16:05:01 -03:00 committed by GitHub
parent 1ccc379f38
commit bc6273d971
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 232 additions and 219 deletions

View file

@ -4,7 +4,7 @@ export def "to ini" [] {
| update value {|row|
$row.value
| transpose key value
| format '{key}={value}'
| format pattern "{key}={value}"
| prepend $"[($row.key)]"
| str join (char nl)
}