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


Download files

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

Source Distribution

ingi-cli-0.1.1.tar.gz (5.5 kB view hashes)

Uploaded source

Built Distribution

ingi_cli-0.1.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page