fluidattacks / makes

A software supply chain framework powered by Nix.
https://makes.fluidattacks.tech/
MIT License
454 stars 43 forks source link

command autocomplete #1100

Open dacevedo12 opened 1 year ago

dacevedo12 commented 1 year ago

I'd be nice to have autocomplete when pressing tab

dsalaza4 commented 1 year ago

We REALLY need to make another iteration of the TUI, there are some related issues already:

https://github.com/fluidattacks/makes/issues/989

https://github.com/fluidattacks/makes/issues/771

dacevedo12 commented 1 year ago

wdyt about removing the leading /?

Breaking change for sure, but it'd allow making use of standard shell auto-completion for paths

dsalaza4 commented 1 year ago

We'll probably end up:

  1. Having a job that statically generates all the outputs and prints them into a txt file
  2. Autocomplate via CLI using such file

This would make the process of running a job:

  1. Faster
  2. Simpler