New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gistpad-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gistpad-cli

A companion CLI for GistPad, that makes it easy to manage gists and repos in VS Code, directly from your terminal

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

GistPad CLI 📘

GistPad CLI is a companion CLI for the GistPad extension, that makes it easy to manage gists and repos in VS Code, directly from your terminal. Since GistPad allows you to browse and edit files, without cloning or commiting anything, this provides a simple workflow for exploring and working on code, without needing to clutter your local machine with anything. Additionally, if you're using GistPad to manage your notes, this CLI allows you to quickly launch a new scratch note, or today page 🔥

Getting Started

  1. Run npm i -g gistpad-cli

  2. Run gistpad <gistOrRepo> (e.g. gistpad lostintangent/gistpad, gistpad 9fe2a7792b025db004ff44b91fccdfbf)

    Alternatively, you could just run npx gistpad-cli <gistOrRepo> if you'd prefer not to install the CLI.

This will launch VS Code, and open the specified repo or gist. If you don't already have the GistPad extension installed, it will walk you through installing it.

VS Code Insiders

If you'd prefer to open the specified gist or repo within VS Code Insiders, then simply pass the -i or --insiders flag to the gistpad command. For example: gistpad -i lostintangent/gistpad.

Launch Behavior

If you specify a gist ID, then GistPad will open the files contained within the gist. However, if you specify a repo name, then GistPad will open the repo's README (if it has one), and then automatically focus the specified repo in the Repos tree view. This makes it easy to browse/edit other files within the repo.

Scratch Notes

If you're using GistPad for capturing "scratch notes", then you can create a new one simply by running gistpad scratch. This will launch VS Code, create a new scratch note, and then open it in the editor 🚀

Today Page

If you're using GistPad for managing a wiki, then you can launch your today page from the CLI by simply running gistpad today 📆

FAQs

Package last updated on 07 Apr 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc