Three-strategy pipeline with priority: native completion generators (e.g. CMD completions nushell) > manpage parsing > --help fallback. Single `generate` command produces one module-wrapped .nu file per command. Parallel execution scaled to cores, 200ms timeouts, ELF string scanning to skip binaries without -h support, native gzip decompression via camlzip, SYNOPSIS-based subcommand detection, nix3 manpage strategy, deduplication, nushell builtin exclusion.
29 lines
530 B
Text
29 lines
530 B
Text
(lang dune 3.20)
|
|
|
|
(name inshellah)
|
|
|
|
(generate_opam_files true)
|
|
|
|
(source
|
|
(github username/reponame))
|
|
|
|
(authors "atagen <boss@atagen.co>")
|
|
|
|
(maintainers "atagen <boss@atagen.co>")
|
|
|
|
(license GPL-3.0-or-later)
|
|
|
|
(package
|
|
(name inshellah)
|
|
(synopsis "Nushell completions generator")
|
|
(description
|
|
"Inshellah parses manpages and --help switches to generate completions for nushell.")
|
|
(depends
|
|
ocaml
|
|
dune
|
|
angstrom
|
|
angstrom-unix
|
|
camlzip
|
|
(ppx_inline_test :with-test))
|
|
(tags
|
|
(shell completions nushell parser angstrom)))
|