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

feat: add complete command #78

Merged
merged 3 commits into from
Dec 12, 2023
Merged

feat: add complete command #78

merged 3 commits into from
Dec 12, 2023

Conversation

rsteube
Copy link
Contributor

@rsteube rsteube commented Nov 13, 2023

Exposes completions using another subcommand.

esh ❯ inshellisense complete -- git l
{"suggestions":[{"name":"ls-remote","description":"List references in a remote repository","icon":"📦","allNames":["ls-remote"],"priority":50},{"name":"log","description":"Show commit logs","icon":"📦","allNames":["log"],"priority":50}],"charactersToDrop":1}

related #65

@rsteube
Copy link
Contributor Author

rsteube commented Nov 13, 2023

@microsoft-github-policy-service agree

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
@cpendery
Copy link
Member

Looks great @rsteube, I just merged it with the most recent changes and tweaked the input to be is complete "git l" instead of is complete -- git l to reduce the code complexity.

@cereschen
Copy link

看起来很棒@rsteube,我只是将其与最新的更改合并,并将输入调整为is complete "git l"而不是is complete -- git l降低代码复杂性。

Although the result was output quickly, it will take some time to finish. Please optimize it as it will affect the speed of obtaining the result

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.

3 participants