Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pieroproietti/denos-eggs

Denos'eggs - penguins'eggs with deno
https://github.com/pieroproietti/denos-eggs

cliffy deno

Last synced: about 1 month ago
JSON representation

Denos'eggs - penguins'eggs with deno

Awesome Lists containing this project

README

        

# denos-eggs

This should be a remake of
[penguins'eggs](https://github.com/pieroproietti/penguins-eggs) made with
[deno](https://deno.com/).

NOTE: At the moment this is just a work in progress...

## install deno

```
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"
```

## install autocomplete deno

```
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
```

## create autocomplete

```
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
```

## vscode

File->Preferences->Extensions->deno

Then enable deno for the workspace.

## src

I am currently trying to build just a mockup which should use
[cliffy](https://cliffy.io/) to implement the various eggs commands and build
the file for autocomplete.