2018-12-19 13:50:48 -05:00
|
|
|
# Deno Example Programs
|
|
|
|
|
2019-03-06 10:24:53 -05:00
|
|
|
These files are accessible for import via "https://deno.land/std/examples/".
|
2018-12-19 13:50:48 -05:00
|
|
|
|
|
|
|
Try it:
|
2018-12-24 10:28:01 -05:00
|
|
|
|
2018-12-19 13:50:48 -05:00
|
|
|
```
|
2019-03-06 10:24:53 -05:00
|
|
|
> deno https://deno.land/std/examples/gist.ts README.md
|
2018-12-19 13:50:48 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
## Alias Based Installation
|
|
|
|
|
|
|
|
Add this to your `.bash_profile`
|
2018-12-24 10:28:01 -05:00
|
|
|
|
2018-12-19 13:50:48 -05:00
|
|
|
```
|
|
|
|
export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
|
2019-03-06 10:24:53 -05:00
|
|
|
alias gist="deno https://deno.land/std/examples/gist.ts --allow-net --allow-env"
|
2018-12-19 13:50:48 -05:00
|
|
|
```
|