firefly-cli icon indicating copy to clipboard operation
firefly-cli copied to clipboard

Discrepancy between CLI executable name based on install source

Open shorsher opened this issue 1 year ago • 2 comments

When installing the CLI through homebrew, firefly is the name of the executable. However, ff is the name of the executable when downloading the binary release or using go install.

shorsher avatar Jan 07 '25 20:01 shorsher

If I remember correctly for homebrew it has to be named the same as the package so firefly we can change our go build command inside the Makefile to just output the binary with the name firefly and also the cobra settings.

EnriqueL8 avatar Jan 08 '25 10:01 EnriqueL8

The naming convention is derived from the main.go directory's name. To implement a quick fix, we can rename the ff directory to firefly. The remaining time will be focused on updating all occurrences of ff in the documentation to reflect this change.

dwertent avatar Jan 08 '25 15:01 dwertent