stephencweiss / note-mgr

A CLI Note Manager
7 stars 2 forks source link

Note-Mgr (aka nom)

nom is a CLI for managing notes written in markdown. Designed with publishing and searching in mind.

Features

  1. Organization: A .index.md file separates drafts from published notes - making it easier to hop into an unfinished draft. .index is also organized A->Z for both lists.
  2. Draft Generation: Use the interactive command line to quickly populate the frontmatter for new notes or directly via the command options
  3. Publication: A single command will move a note from draft to published. By default the note's frontmatter will be confirmed prior to publication.

Getting Started

To use the CLI, install it globally:

$ yarn global add note-mgr-cli
# or
$ npm install note-mgr-cli --global

At this point, nom will be installed. You can confirm by seeing the help menu

$ nom --help

Before using nom, it must be initialized with nom init

nom init gif

Usage

Initialization Options

If no target directory is passed, you will be prompted to provide one in an interactive session.

New Note Options

nom new

To create a new note, at a minimum nom requires either a title (-t --title) or to create the note interactively (-i --interactive).

nom new interactive All options are available for setting declaratively with the following options: