withfig / fig

Public issue tracker for Fig.

Home Page:https://fig.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local CLIs not showing scripts

GBrachetta opened this issue · comments

These are the steps I follow to create a local CLI:

1- Create a new CLI

Screenshot 2023-11-30 at 07 51 33

2- Add a script to the CLI

Screenshot 2023-11-30 at 07 51 56
Screenshot 2023-11-30 at 07 52 19

3- The CLI (with its script) is present in Fig
Screenshot 2023-11-30 at 07 52 33

4- Restart fig, and run the CLI.

The new CLI doesn't show the script in the autocomplete, just the default help flag.

Screenshot 2023-11-30 at 07 53 29

What is failing? I've uninstalled-reinstalled Fig.
Fig doctor doesn't show any errors:

Screenshot 2023-11-30 at 09 08 50

Can you run a-test --help and share the output?

Here it is. Yes, the script shows as a possible command. It's just Fig's autocomplete not showing it, as in the screenshot above.

Screenshot 2023-12-08 at 13 59 40

I am experiencing a similar issue on my side, and same thing - no fig doctor problems and help is displaying the script details AND the script is executable, it is just not showing in the autocomplete

Fig not showing scripts for local CLI nor standalone scripts that would be used with fig run ... This started at the same time as #2803 for me