Skip to content

jeferson-sb/deno-notes-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

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

alt terminal

πŸ¦• 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 TypeScript at its core
  • Secure by 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 | sh

Powershell (Windows)

$ iwr https://deno.land/x/install/install.ps1 -useb | iex

Homebrew (macOS)

$ brew install deno

Chocolatey (Windows)

$ choco install deno

Usage

$ 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

About

Create simple notes from your terminal using Deno

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published