• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

πŸ¦„ 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

More Repositories

1

faucetli

πŸ¦„ A command line tool to get tokens on testnets quickly!
TypeScript
58
star
2

tailwindcsscli

A CLI for generating starter files for different JS frameworks with tailwindCSS pre-installed
JavaScript
12
star
3

nextrate

πŸ¦„ A CLI tool to quickly generate Next.js components
TypeScript
9
star
4

Its-Time-To-Focus

It's Time To Focus is a website made for people who want to be productive throughout their day
HTML
8
star
5

remix-blog

CSS
7
star
6

hacky-node-template

πŸ„β€β™‚οΈ A node.js template to quickly get started building
TypeScript
7
star
7

solidity-quickstart

🚧 [WIP] Get started with solidity today! πŸš€
JavaScript
7
star
8

thw-faucet-cli

🌈 A command-line tool to quickly get testnet tokens right from your terminal with metamask authentication!
TypeScript
7
star
9

cli

πŸ’» CLI for personal use
TypeScript
6
star
10

0xMukesh

Config files for my GitHub profile.
6
star
11

x-days-of-solidity

Shell
6
star
12

social-links

Send your social links via your fancy custom url
JavaScript
3
star
13

faucetli-backend

🌈 Backend of faucetli
TypeScript
3
star
14

portfolio

just a portfolio of mine
HTML
3
star
15

project-euler

Project Euler solutions in Rust
Rust
3
star
16

express-mongo-prisma-template

2
star
17

Learners

A Study themed discord bot for Focused Learners discord server
Python
2
star
18

dev-credits-api

An API or communicating with the dev credits bot and the database
JavaScript
2
star
19

nas-summit

The script which is used to generate NFTs for the attendees of Nas Summit 2023
TypeScript
1
star
20

hashnode-blogs

A repository where all my hashnode blogs are stored
1
star
21

local-hack-day-build-2022

This repository contains all the projects I have built during Local Hack Day Build 2022
JavaScript
1
star
22

docusaurus-tutorial

This repository contains the source code for my tutorial on docusaurus
JavaScript
1
star
23

hacky-node-template-v2

πŸ„β€β™‚οΈ A node.js template to quickly get started building with Fastify and Prisma
TypeScript
1
star
24

buildnoticli

A CLI which sends notification after running a command
JavaScript
1
star
25

Blahaj-API

🦈 An API for getting and posting random Blahaj images
JavaScript
1
star
26

binge.time

A web application which tells the time required to binge watch an entire season or a certain part of the season according to your preferences ✨
JavaScript
1
star
27

dev-credits-bot

A discord bot for dev credits πŸ‘¨β€πŸ’»
JavaScript
1
star