Giter VIP home page Giter VIP logo

.cheat-cli's Introduction

Cheat-CLI

A command line tool that you can use to create your own local cheatsheets โœ๏ธ ๐Ÿ““

Minimum version requirements

Node.js: v17.7.2

Get Started

Please follow these steps to setup setup the Cheat-CLI on your machine:

First fork the project then clone the repo into your HOME directory, then navigate into the .cheat-cli directory and run the following command:

npm run setup

Usage

Once the setup is complete you will have access to the cheat command globally on your machine.


The cheat command currently accepts only a single flag at a time. These options are described in the table below.

Action Shorthand Longhand
Add a new note -a --add
Browse existing notes -br --browse
Backup notes -bk --backup
Search notes -s --search
Help -h --help

Adding a Note

When adding a note you are able to choose from the current topics and techs or create new ones by choosing the "None of the above" option.

Finally you are asked to provide both a tile and a body for the note.

See below for an example:

adding a note

Searching Notes

When searching your notes you are asked to provide the name of the technology you are searching for. Please only search for valid tech names - no characters that aren't in the alphabet!

searching for a note

Browsing Notes

When you choose to browse your notes you will be asked to choose both the topic and tech that you wish to browse.

The notes will then all be printed to your terminal as shown below:

browsing notes

Backup Notes

Finally, something I recommend doing regularly, you have the option to backup your notes. Just in case something goes wrong!

backup notes


.cheat-cli's People

Contributors

dcrawley94 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.