Project

notes_cli

0.0
No commit activity in last 3 years
No release in over 3 years
Easily create, delete and list all your notes. NotesCli lets you create workspaces and notebooks in which you can store notes. Notes are created as md files for ease of storing code snippets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.5
~> 0.12
~> 3.9
~> 0.86
~> 0.18
 Project Readme

About

Easily create, delete, list and open all your notes.
NotesCli lets you create workspaces and notebooks in which you can store notes.
Notes are created as md files for ease of storing code snippets.

Installation

gem install notes_cli

Getting started

Tell notes_cli where your notes will be stored

notes --notes_folder path/to/where/you/will/store/notes

Define your first workspace

notes -w workspace_name

Set your default editor

notes -e subl

DSL

Notes folder

Where you will store all notes, including your workspaces and notebooks as the top layers

Workspace

Where you will store notebooks

Notebook

Where you will store notes

Example

Basic case scenario, where:

  • notes_folder is where we decided to store notes
  • personal_projects and work are workspaces
  • social_media_apps and features are notebooks
  • twitter_clone.md and requirements.md are notes
notes_folder/
├── personal_projects
│   └── social_media_apps
│       └── twitter_clone.md
└── work
    └── features
        └── voice_chat
            └── requirements.md

Usage

Check

Checking which workspace you are currently in

notes
'Current workspace is ...'

Create

Create a note in the current workspace

notes -n notebook note_title

Creating a note in a nested notebook

notes -n path/to/notebook note_title
# e.g
notes -n saving_the_world/doing_charity_work list_of_charities

# will produce
notes_folder/
├── personal_projects
│   ├── saving_the_world
│   │   └── doing_charity_work
│   │       └── list_of_charities.md
│   └── social_media_apps
│       └── twitter_clone.md
└── work
    └── features
        └── voice_chat
            └── requirements.md

Delete

Delete a note

notes -d notebook note_title

List

Listing all notebooks in your workspace

notes -l .

Listing all notes in a given notebook

notes -l notebook

Open

Open a notebook in the context of your favourite editor

notes -o notebook

Switch

Switching workspace

notes -w workspace_name

Switching workspace and creating a note there

notes -w workspace_name -n notebook note_title

Help

Display available commands

notes --help