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

5 commits

Author SHA1 Message Date
Jan Klass
189c3d646e
fishgen: Fix flags crossing subcommands (#1122) 2025-05-11 16:33:28 -05:00
Jan Klass
f371420c5b
fishgen: Drop unnecessary line length check (#1118)
The following starts-with 'complete' where filter covers it as well.
2025-05-11 08:58:19 -05:00
Jan Klass
c62a46d6e3
Fix parse-fish.nu (#1094)
Adjust so it does not throw syntax errors and works for at least some
sampled `.fish` files.

Related #968, #258, #256

---

Sample `abook`:

```nushell
nu ❯ rm abook.nu -f; build-completion abook.fish abook.nu; open abook.nu
# Show usage
extern "abook" [
        --add-email                                     # Read email message from stdin and add the sender
        --add-email-quiet                                       # Same as --add-email. Without confirmation
        --convert                                       # Convert address book files
        --informat                                      # Input file format
        --outformat                                     # Output file format
        --formats                                       # Print available formats
        ...args
]
```
2025-04-20 10:03:24 -05:00
Jan Klass
98973a271f
Improve auto-gen README.md (#1093)
* Fix typo
* Add code fences
* Use `nushell` instead of `nu` code block language, so it renders
correctly on GitHub
* Use correct headline levels (only one instead of three top headlines)
* Add paragraph spacing where applicable
* Add trailing newline
2025-04-20 10:02:47 -05:00
Douglas
a19339cdaa
Move custom-completion auto-generate scripts to needs-update (#1076)
A user in Discord recently tried to run the auto-generate script to
create completions from `<command> --help` and had issues. In examining
the scripts, I found that they used `build-string`, which was deprecated
and removed over 2 years ago. In order to prevent future confusion until
(and if) these files are updated, I'm moving them to a `needs-update`
directory in the repo.

Any other outdated files can be moved there as well.
2025-03-29 09:57:46 -04:00