Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IsInstalled API to installer interface #94

Merged
merged 1 commit into from Jul 1, 2019

Conversation

vadmeste
Copy link
Contributor

IsInstalled(cmd, bin string) bool will help tools using this library
to show a prompt to users asking if they would like to have completion
enabled.

Fixes #89

`IsInstalled(cmd, bin string) bool` will help tools using this library
to show a prompt to users asking if they would like to have completion
enabled.
@codecov
Copy link

codecov bot commented Jun 28, 2019

Codecov Report

Merging #94 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   89.93%   89.93%           
=======================================
  Files          14       14           
  Lines         864      864           
=======================================
  Hits          777      777           
  Misses         77       77           
  Partials       10       10

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60e9d0a...c6bcb58. Read the comment docs.

@posener
Copy link
Owner

posener commented Jun 29, 2019

Thanks, looks good.
Was this tested manually?

@vadmeste
Copy link
Contributor Author

Was this tested manually?

I tested gocomplete with bash and fish, with zsh it doesn't work even with master version (or I am missing something.. I am not a zsh user)

@posener posener merged commit 33efd44 into posener:master Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Proposal] Add IsInstalled API to posener/complete/cmd/install
2 participants