Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

danstn/thorium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#alt text Thorium

Gem Version Build Status Code Climate Dependency Status

Simple workflow automation toolkit.

Ruby 2.0 is needed.

Installation

gem install thorium

With an alias included (optional):

gem install thorium && alias th=thorium

Updates

gem update thorium    

Usage

Common

List local public keys and prompt to generate a new one if none are present

thorium pubkeys

Copy the default ~/.ssh/id_rsa.pub to your clipboard

thorium pubkey

Example

$ thorium pubkey                                  
Use `thorium pubkeys` if you want to select a specific key.
---> `~/.ssh/id_rsa.pub` copied to your clipboard.

Github CLI

List github repositories for a user

thorium git list

List and clone github repositories for a user

thorium git clone

Pull a project-specific .gitignore file into current directory

thorium git ignore

Example

$ thorium git ignore                                                                                                
Fetching a list of gitignore files...
-------------------------------------
[1] Actionscript            [2] Ada                     [3] Agda                    [4] Android                 [5] AppceleratorTitanium
[6] ArchLinuxPackages       [7] Autotools               [8] C++                     [9] C                       [10] CFWheels
[11] CMake                  [12] CONTRIBUTING           [13] CakePHP                [14] ChefCookbook           [15] Clojure
[16] CodeIgniter            [17] CommonLisp             [18] Composer               [19] Concrete5              [20] Coq
[21] CraftCMS               [22] DM                     [23] Dart                   [24] Delphi                 [25] Drupal
...
Which file would you like to copy? (Enter to skip) 8
      create  .gitignore

Runcom (rc files)

All

Run all runcom tasks: vim, sqlite

thorium runcom all

Vim

Update .vimrc with some essential options

thorium runcom vim

Default options:

syntax on

SQLite

Update .sqliterc with some essential options

thorium runcom sqlite

Default options:

.headers ON
.mode column

Example

$ thorium git clone
Enter Github username:  git

Fetching Github repositories (git)...
------------------------------------------
[1]  git            [email protected]:git/git.git            https://github.com/git/git.git
[2]  git-reference  [email protected]:git/git-reference.git  https://github.com/git/git-reference.git
[3]  git-scm.com    [email protected]:git/git-scm.com.git    https://github.com/git/git-scm.com.git
[4]  git.github.io  [email protected]:git/git.github.io.git  https://github.com/git/git.github.io.git
[5]  gitscm-old     [email protected]:git/gitscm-old.git     https://github.com/git/gitscm-old.git
[6]  hello-world    [email protected]:git/hello-world.git    https://github.com/git/hello-world.git
Which repository would you like to clone? (Enter to skip) [1, 2, 3, 4, 5, 6] 6
Select a protocol (ssh or https)? [s, h] s

Apache CLI

Generic apache controller. Run thorium apache for more information.

Documentation

thorium help

License

Code is under the GPL3 license.

About

Workflow automation toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages