Code Monkey home page Code Monkey logo

snipli's Introduction

🦄 snipli

Snipli - Convert your local files into a gist in just a snap | Product Hunt Snipli - Convert your local files into a gist in just a snap | Product Hunt

✨ A command-line interface for quickly sharing code snippets for your local files

Usage

$ npm install -g snipli
$ snipli COMMAND
Running command...
$ snipli (--version)
snipli/1.0.0 win32-x64 node-v16.13.0
$ snipli --help [COMMAND]
USAGE
  $ snipli COMMAND
...

Commands

snipli create

🦄 Create a new snippet of your local file on gist.github.com

USAGE
  $ snipli create -f <value> -d <value> [-p]

FLAGS
  -d, --description=<value>  (required) Description of the gist
  -f, --file=<value>         (required) Path to the file of which you want to create a gist
  -p, --[no-]public          Whether the gist should be public or not

DESCRIPTION
  🦄 Create a new snippet of your local file on gist.github.com

EXAMPLES
  $ snipli create --file=code.ts --description='Need help at line 59 of file code.ts' --public

snipli delete

🚚 Delete a gist

USAGE
  $ snipli delete -i <value>

FLAGS
  -i, --id=<value>  (required) ID of the gist which is to be deleted

DESCRIPTION
  🚚 Delete a gist

EXAMPLES
  $ snipli delete --id=bfce776b3ad1145f764d89c296fec605

snipli edit

✏ Edit an existing gist

USAGE
  $ snipli edit -i <value> -f <value> -d <value> [-p]

FLAGS
  -d, --description=<value>  (required) The description of the Gist
  -f, --file=<value>         (required) The path of the file which has the edited content
  -i, --id=<value>           (required) ID of the Gist which you are going to edit
  -p, --[no-]public          Whether the Gist is public or not

DESCRIPTION
  ✏ Edit an existing gist

EXAMPLES
  $ snipli edit --id=ca22a324f761cd241ace4c9a35286496 --file=updated-code.ts --description='Updated the code' --public

snipli help [COMMAND]

Display help for snipli.

USAGE
  $ snipli help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for snipli.

snipli id

💡 Get the ID of a gist from it's link

USAGE
  $ snipli id -l <value>

FLAGS
  -l, --link=<value>  (required) Link of the gist

DESCRIPTION
  💡 Get the ID of a gist from it's link

EXAMPLES
  $ snipli id --link=https://gist.github.com/Kira272921/bfce776b3ad1145f764d89c296fec605

snipli login

🔑 Login into snipli via GitHub

USAGE
  $ snipli login

DESCRIPTION
  🔑 Login into snipli via GitHub

EXAMPLES
  $ snipli login

snipli logout

📤 Logout from snipli

USAGE
  $ snipli logout

DESCRIPTION
  📤 Logout from snipli

EXAMPLES
  $ snipli logout

snipli read

📖 Read a gist locally using the configured editor

USAGE
  $ snipli read -i <value>

FLAGS
  -i, --id=<value>  (required) ID of the Gist

DESCRIPTION
  📖 Read a gist locally using the configured editor 

EXAMPLES
  $ snipli read --id=ca22a324f761cd241ace4c9a35286496

snipli whoami

👀 Get the info about the logged in user

USAGE
  $ snipli whoami

DESCRIPTION
  👀 Get the info about the logged in user

EXAMPLES
  $ snipli whoami

Authors

Mukesh

Avneesh Agarwal

snipli's People

Contributors

0xmukesh avatar avneesh0612 avatar carrotfarmer avatar dependabot[bot] avatar renovate[bot] avatar shhivv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

snipli's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/express to v4.17.14
  • Update dependency eslint-config-oclif-typescript to v1.0.3
  • Update dependency eslint to v8.25.0
  • Update dependency axios to v1
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

circleci
.circleci/config.yml
  • release-management 4.37.1
github-actions
.github/workflows/publish.yml
  • actions/checkout v3
  • actions/setup-node v3
  • JS-DevTools/npm-publish v1
npm
package.json
  • @oclif/command ^1.8.16
  • @oclif/core ^1
  • @oclif/plugin-help ^5
  • @oclif/plugin-plugins ^2.1.0
  • @octokit/core ^3.6.0
  • axios ^0.27.2
  • chalk 4.1.2
  • express ^4.17.3
  • figchalk ^1.0.3
  • inquirer ^9.0.0
  • object-path ^0.11.8
  • open ^8.4.0
  • ora 5.4.1
  • shelljs ^0.8.5
  • @oclif/test 2.1.0
  • @types/express 4.17.13
  • @types/inquirer 8.2.1
  • @types/node 16.11.45
  • @types/object-path 0.11.1
  • @types/shelljs 0.8.11
  • eslint 8.22.0
  • eslint-config-oclif 4.0.0
  • eslint-config-oclif-typescript 1.0.2
  • globby 13.1.2
  • oclif 3.1.1
  • shx 0.3.4
  • ts-node 10.8.1
  • tslib 2.4.0
  • typescript 4.7.4
  • node >=12.0.0
  • yargs-parser >=13.1.2
src/server/package.json
  • axios ^0.27.0
  • dotenv ^16.0.0
  • express ^4.17.3
  • query-string ^7.1.1
  • @types/axios 0.14.0
  • @types/express 4.17.13
  • @types/inquirer 8.2.1
  • nodemon 2.0.18
  • ts-node 10.8.1
  • typescript 4.7.4

  • Check this box to trigger a request for Renovate to run again on this repository

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.