Code Monkey home page Code Monkey logo

note's Introduction

note Testing

Simple cli that makes your thoughts captured in the moment.

Install

go install github.com/jnszkr/note/cmd/note@latest

Usage

$ cd ./docs/example-notes/running
$ note "I have decided that I am going to do running."
$ note "My goal is to finish a 5K"
$ note "But first I need a plan."
$ note "Let's start with 1K first time and see how that goes."
...

The notes will be stored in your current directory to .notes file.

$ ls -al
total 8
drwxr-xr-x  3 -  staff   96 Jan  7 21:58 .
drwxr-xr-x  3 -  staff   96 Jan  7 21:48 ..
-rw-r--r--  1 -  staff  498 Jan  7 21:58 .notes

To look at your notes you can do:

$ note 
2022-01-07 21:52:22 I have decided that I am going to do running.
           21:52:55 My goal is to finish a 5K
           21:53:06 But first I need a plan.
           21:53:40 Let's start with 1K first time and see how that goes.
2022-01-08 10:23:47 1K was fine, I am not tired at all.
           10:23:54 Let's see how 2K goes in two days.
2022-01-10 09:12:18 Well, it was much harder!
           09:12:31 I keep this distance for a while now.

To search in notes:

$ note -s "hard"
/Users/jnszkr/go/src/note/docs/example-notes/running/.notes
    2022-01-10 09:12:18 Well, it was much harder!

Recursive search would try to find all the notes in the subdirectories:

$ cd ..
$ note "This is the example folder"
$ note -r -s is
/Users/oszkar/go/src/note/docs/example-notes/.notes
    2022-01-07 22:08:07 This is the example folder.
/Users/oszkar/go/src/note/docs/example-notes/running/.notes
    2022-01-07 21:52:55 My goal is to finish a 5K
    2022-01-10 09:12:31 I keep this distance for a while now.

note's People

Contributors

jnszkr avatar

Stargazers

Shubham Kapoor avatar Anish Thite avatar Vitaly Karpenko avatar Kroot User avatar Chris Alcantara avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.