omelette icon indicating copy to clipboard operation
omelette copied to clipboard

Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish)

Results 26 omelette issues
Sort by recently updated
recently updated
newest added

If I add autocompletion for my global cli, it works great (`mycli `), but if the same script is called through [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) (which calls local binaries, `npx mycli `, available...

Hello, Great tool! I have had a great pleasure to use it to create my own autocomplete stuff :-) I have used the `.setupShellInitFile()` function to automatically setup the shell...

While educating myself on auto-complete, I was poking at `npm` and noticed that their autocomplete scripts allow for an infinite number of flags to be referenced by the completion mechanism,...

Great tool, Is this suppose to work on windows with CMD, powershell or git bash?

Some shells support more than simple string completions. Each entry can have a description. Here is a screenshot from zsh. PowerShell also supports rich completion entries. ![image](https://user-images.githubusercontent.com/376504/102547946-efa0fd80-4087-11eb-8b0c-a0316f23f9fc.png) Is there a...

Why do you have process.exit in setupShellInitFile? https://github.com/f/omelette/blob/master/src/omelette.js#L255 I would like to show message to user that auto completion has been set up but since the function uses process.exit I...

So I've thought I should be able to do something like the following ```javascript omelette`bin ${({reply}) => Promise.resolve(["a","b"]).then(reply)` ``` but for some reason this doesn't work, can you help me?...

Enables lazy loading of tree components. I still need Promises support as a leaf node, but unfortunately I can't trace the code enough.

I have a setup/cleanup script that successfully adds and removes: ```bash # begin app completion . /dev/null; then _app_completion() { compadd -- `app --compzsh --compgen "${CURRENT}" "${words[CURRENT-1]}" "${BUFFER}"` } compdef...

Hi, I tried to switch to 0.4.0 and the change of fetching method for `word` (https://github.com/f/omelette/commit/b74b23209f5b8254f0d28b120fdfbf034086c30c#diff-564d24cceffda49c18bf427e92b8baa3R23) makes the parameter `before` undefined when an incomplete word is tabbed. Ex: ``` lorem...