Skip to main content

A CLI tool for gists like no other. Run, download and help build a searchable gist API

Project description

ingi-cli

A CLI tool for gists like no other. Run, download and help build a searchable gist API

Build Status Python version Coverage Status

Features

  • Run gists directly from your bash. Multiple language support (python, ruby, shell, node)
  • Offline cache for gists

Installation

ingi assumes that any required binaries for executing gists are installed on your system, if not then it will fail.

Install the cli tool through pip:

pip install ingi-cli

Usage

Invoking a gist

ingi get https://api.github.com/gists/ac5a0fb49370e7cff3bee93ecc40b9a8

or use the gist ID

ingi get --use_id ac5a0fb49370e7cff3bee93ecc40b9a8

You can also just cache the gist to use later

ingi get --save_only --use_id ac5a0fb49370e7cff3bee93ecc40b9a8

TODO & Improvements

  • Implementing a gist index to search gists programmatically. Any gists executed locally get automatically inserted and indexed on API to be used. This will provide us with a rest API to search for gists 😀.

  • Configurable invoke queue, like an invoke.yaml which lists a bunch of gists to execute in order.

  • arguments to be passed to scripts, for e.g:

ingi get --use_id ac5a0fb49370e7cff3bee93ecc40b9a8 first_arg second_arg

Project details


Release history Release notifications

This version

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ingi-cli, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size ingi_cli-0.1.1-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ingi-cli-0.1.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page