Deno Notes Cli App
Create simple notes in json format from the command line using Deno
This is application is part of my article about Deno
π¦ About Deno
Deno is a secure runtime for JavaScript and TypeScript.
- It is written in Rust and TypeScript and built on top of V8 Engine.
- It is based on modern features of the JavaScript
- It has
TypeScriptat its core Secureby default. No file, network, or environment access, unless explicitly enabled.- Ships only a single executable file.
- It embraces ES modules
- It has no package manager (at least not yet)
π Quick start
Installation
Shell (macOS, Linux)
$ curl -fsSL https://deno.land/x/install/install.sh | shPowershell (Windows)
$ iwr https://deno.land/x/install/install.ps1 -useb | iexHomebrew (macOS)
$ brew install denoChocolatey (Windows)
$ choco install denoUsage
$ cd deno-notes-cli
$ deno run --unstable --allow-write --allow-read src/app.tsπ₯οΈ Avaliable Commands
| name | example |
|---|---|
| add | deno run --unstable --allow-write --allow-read src/app.ts add |
| list | deno run --unstable --allow-read src/app.ts list |
| read | deno run --unstable --allow-read src/app.ts read |
| update | deno run --unstable --allow-write --allow-read src/app.ts update |
| remove | deno run --unstable --allow-write --allow-read src/app.ts remove |
You can also use makefile to short the commands by running make add, make list, make read, etc.
π License
This project is licensed under the terms of the MIT license
Made with β₯ by Jeferson Β© 2020
