New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jin-app

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jin-app

A CLI app for taking simple notes without ever leaving the terminal.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

jin

A CLI app for taking simple notes without ever leaving the terminal.

Overview

jin allows you to take and organize simple notes without ever leaving the command line. Capture ideas, track tasks, and reference code snippets with straightforward and intuitive commands.

Table of contents

  • Overview
  • Installation
  • Usage
  • Related
  • License

Installation

$ npm install --global jin-app

Usage

Commands

Add Note

# Add a new note to an existing notebook.
# If the notebook does not exist, it will be created.

$ jin add [notebook] <note>
# jin a [notebook] <note>
# Create a new, empty notebook.

$ jin add [notebook]
# jin a [notebook]

Note: a notebook name is required.

Example

$ jin add nodejs "Use 'util.promisify()' to promisify a callback-style function."

    ✔ Added "Use 'util.promisify()' to promisify a callback-style function." to "nodejs".

List Notes

# List all notes in the given notebook.
# Pass the --long|-l option to get detailed information.

$ jin list [options] [notebook]
# jin ls [options] [notebook]
# List all notebooks.
# Pass the --long|-l option to get detailed information.

$ jin list [options]
# jin ls [options]

Example

$ jin list nodejs

    nodejs Notes
    ----------------
    0   Use 'os.homedir()' to access the home directory.
    1   Use 'util.promisify()' to promisify a callback-style function.

Edit Note

# Edit the contents of a note at the given index of a given notebook.

$ jin edit <notebook> <index>
# jin ed <notebook> <index>

Remove Note

# Remove a note at the given index of a given notebook.

$ jin remove [notebook] <index>
# jin rm [notebook] <index>
# Remove a given notebook.

$ jin remove [notebook]
# jin rm [notebook]

Note: You must pass in the --force flag when attempting to remove a notebook that contains notes.

Examples

$ jin remove nodejs 0

    ✔ Removed note at index 0 from nodejs notebook.
$ jin rm --force nodejs

    ✔ Removed nodejs notebook.

Export Notes

# Create an exports of the notes collection in the current directory.

$ jin export
# jin exp

The notes collection is stored in the user's home directory by default.

Help

# Display general help output.

$ jin --help
# jin -h
# Display command-specific help output.

$ jin [cmd] --help

License

MIT © Christopher Murphy

Back to Top

Keywords

cli

FAQs

Package last updated on 07 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts