Skip to content

jmkogut/gist-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gist-script

A rubygem that will load shell scripts from your github gists (pastebin) and execute them.

###What it does now###

  • gscript auth [Username] Authorizes your username passowrd and adds to your .netrc file for future use.
  • gscript ls Lists all your gist files in a somewhat readable manner.

###What it will do in the future###

  • gscript run foo.sh Runs a gist matching the filename foo.sh
  • gscript run user/bar.sh Runs a gist from user matching the filename bar.sh
  • gscript run [id] Runs the gist with an id
  • gscript add [filename, path, or ID] adds a gist (using same arguments above) to be run automatically when that cammand is not found. for example, if you type gscript add foo.sh, you can then type foo.sh into bash, and gscript will autimatically call that script

###Todo###

  • run files from gist
  • run files automatically using command_not_found_manager function
  • keep track of what files the user wants to be run automatically from gscript

##Screenshot example## screenshot

About

A rubygem that will load shell scripts from your github gists (pastebin) and execute them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages