https://pulumi.com logo
#contribute
Title
# contribute
s

stocky-state-77654

08/25/2021, 4:00 PM
I’m making a command for Cobra CLIs to generate a spec for fig.io autocompletion. I noticed that the pulumi release doesn’t have
pulumi completion
, but my local dev version does. Wondering how you pull this off (not just hiding the command but actually making it unavailable to end user)
b

billowy-army-68599

08/25/2021, 4:56 PM
do you mean shell autocompletion?
s

stocky-state-77654

08/25/2021, 5:24 PM
Yes
I can run
pulumi completion
on my dev build but not on the release I have from brew
Just wondering why/how it’s not available on the release
b

billowy-army-68599

08/25/2021, 5:26 PM
the homebrew formula should have installed completions: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pulumi.rb#L40-L42
s

stocky-state-77654

08/25/2021, 5:28 PM
Right I see
gen-completion is the command
For some reason my dev build also works with
pulumi completion