This should be a remake of penguins'eggs made with deno.
NOTE: At the moment this is just a work in progress...
curl -fsSL https://deno.land/x/install/install.sh | sh
Manually add the directory to your `$HOME/.bashrc`` (or similar)
export DENO_INSTALL="/home/artisan/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
deno completions bash > deno.bash
sudo mkdir /usr/local/etc/bash_completion.d -p
sudo mv deno.bash /usr/local/etc/bash_completion.d/deno.bash
Add to .bashrc
the row:
source /usr/local/etc/bash_completion.d/deno.bash
cd denos-eggs
deno compile src/denos-eggs.ts
sudo ln -s /home/artisan/denos-eggs/denos-eggs /usr/local/bin
At this point we construct denos-eggs.bash
:
denos-eggs autocomplete bash > denos-eggs.bash
sudo mv denos-eggs.bash /usr/local/etc/bash_completion.d/
Add to .bashrc
row:
source /usr/local/etc/bash_completion.d/denos-eggs.bash
File->Preferences->Extensions->deno
Then enable deno for the workspace.
I am currently trying to build just a mockup which should use cliffy to implement the various eggs commands and build the file for autocomplete.