Socket
Socket
Sign inDemoInstall

gog

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gog

Global shell script manager


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

gog
gog (go-global) npm version

Gog is a dynamic script manager. It allows you to search, execute and manage scripts from any location in your terminal, without having to remember the path to your script or what it does. It is a quick and easy way to build your own CLI.

Installation

Install with npm:

npm install -g gog

or for local development:

  1. Clone the repo: git clone https://github.com/kublikon/gog.git
  2. npm install -g <path to gog>

System Support

gog currently supports Mac and most Linux platforms.

Script Support

  • Bash
  • JavaScript - with Node.js installed
  • Python

To quickly search and download scripts enter gog -s followed by the name of a script you are looking for.

If you are manually constructing scripts, simply ensure that you contain header line at the beginning of your file (example: #!/usr/bin/env node) so that gog can understand how to execute your script. If no header is found, gog will attempt to execute your script as bash.

Contribute Scripts

You can contribute your own scripts by visiting gog.codes and creating a free account. Become part of the community of developers creating better terminal scripts for all.

Usage / Documents

Basic usage: gog <command> [args], where <command> is the name of the script you are executing or gog [args] <scriptname> [<properties>]. Information is also available in the gog CLI, gog -h.

For complete documentation and examples, check out gog.codes/documents.

Issues

Help us improve gog by reporting any CLI related issues to issues.

Keywords

FAQs

Package last updated on 11 Sep 2017

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