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: bash autocompletions #72

Merged
merged 32 commits into from
Oct 15, 2024
Merged

feat: bash autocompletions #72

merged 32 commits into from
Oct 15, 2024

Conversation

apskhem
Copy link
Contributor

@apskhem apskhem commented Oct 15, 2024

  • Added command autocompletions for cat-forge, at this moment, it can list all subcommands.

Closes #66

In order to use autocompletions, you need to register the forge command first.

complete -C <abs-path-to-forge-bin> forge

And then you can use autocompletion

forge <TAB>

It should give the list of all subcommands.

@apskhem apskhem added the enhancement New feature or request label Oct 15, 2024
@apskhem apskhem self-assigned this Oct 15, 2024
@apskhem apskhem linked an issue Oct 15, 2024 that may be closed by this pull request
@apskhem apskhem marked this pull request as draft October 15, 2024 08:24
@apskhem apskhem force-pushed the feat/devx-autocomplete branch 2 times, most recently from 0b4c0fa to 2b98a4d Compare October 15, 2024 08:40
@apskhem apskhem marked this pull request as ready for review October 15, 2024 09:21
@apskhem apskhem marked this pull request as draft October 15, 2024 09:21
@apskhem apskhem marked this pull request as ready for review October 15, 2024 11:23
@stevenj
Copy link
Contributor

stevenj commented Oct 15, 2024

@jmgilman This adds general auto-complete to forge so the PR is raised against master.
Looks OK to me.
The devx command autocomplete will be added on top of this in the devx branch with the next iteration of work.

@jmgilman
Copy link
Collaborator

Cool, looks good to me.

@jmgilman jmgilman merged commit 5131d0f into master Oct 15, 2024
20 checks passed
@jmgilman jmgilman deleted the feat/devx-autocomplete branch October 15, 2024 14:16
jmgilman added a commit that referenced this pull request Oct 15, 2024
jmgilman added a commit that referenced this pull request Oct 15, 2024
@apskhem apskhem restored the feat/devx-autocomplete branch October 17, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add autocompletion when looking up commands from the markdown definition
3 participants