purescript/spago

Provide completions for spaghetto

deemp opened this issue · 4 comments

deemp commented

I used purescript-overlay and couldn't get completions for spaghetto 0.93.9 using nix run .#spago-unstable -- --bash-completion-script. It failed with this message

spago
    Unexpected argument:
        --bash-completion-script
...

Then, I searched the spago repo and found no completion entries in spaghetto.

It would be nice to have a documented option for spaghetto completions.

f-f commented

I think this should be raised upstream in the argparsing library that we use?

f-f commented

I am not really up for rewriting the CLI handling myself, but I'd be willing to merge a PR that implements this and doesn't make it substantially worse to maintain

deemp commented

Closed by #980