CleverCloud/clever-tools

Consider removing `(un)install-autocomplete.sh` and their related bin entries within `package.json`

florian-sanders-cc opened this issue · 0 comments

Context

When submitting the nixpkgs PR (see NixOS/nixpkgs#319818), the reviewer rightfully pointed out that our package was creating install-clever-completion and uninstall-clever-completion binaries in addition to the clever one.

This is based on the bin entry within our package.json:

"bin": {
    "clever": "bin/clever.js",
    "install-clever-completion": "scripts/install-autocomplete.sh",
    "uninstall-clever-completion": "scripts/uninstall-autocomplete.sh"
  },

Since completion installation seems to be handled through cliparse anyway (cf cliparse - README.md - Autocompletion), do we still need these scripts and their related entries within the bin section?

I don't know much about the project so feel free to close this if these files / entries are still relevant and used, it's mostly a housekeeping problem but it does not create any issue.