Git Product home page Git Product logo

snips's Introduction

Snips

CodeFactor Build Status

The code snippet manager at the execution of a command.

Getting Started

Install

npm install -g {workingDir}\Snips

Don't Need to do this anymore, check commands list for setup

Navigate to the location your global npm packages are installed and find Snips here you can setup your config file here.

if you don't know where your npm global packages are installed run this command npm list -g

Config Schema

{
    "user-settings": {
        "username": "username",
        "cloud": true
    }
}

Commands

  • add - add <name> [language] [version] adds a new snippet to your collection
    • language - optional parameter that allows you to have multiple snippets with the same name, but different languages
    • version - optional parameter that currently is only for personal tracking, improved capabilities to come
  • fetch - fetch <name> [language] fetches a snippet and adds it to your clipboard
    • language - optional parameter to fetch a snippet by language, if not used the results will return the first snippet of the given name
  • setup - setup launches an editor for you to place your config json into, which will setup app environment variables and user info.
    • print - optional flag that will print out your current config settings to console, handy since you have to write the whole config on edits (whoops).

Storage Options

Local storage is provided by NeDB a NoSql local database. NeDB

Cloud storage is done through Firebase's Firestore. Firebase

Built With

snips's People

Contributors

dependabot[bot] avatar dills122 avatar

Stargazers

 avatar

Watchers

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