Simple workflow automation toolkit.
Ruby 2.0 is needed.
gem install thorium
With an alias included (optional):
gem install thorium && alias th=thorium
gem update thorium
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
$ thorium pubkey
Use `thorium pubkeys` if you want to select a specific key.
---> `~/.ssh/id_rsa.pub` copied to your clipboard.
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
$ 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
Run all runcom tasks: vim
, sqlite
thorium runcom all
Update .vimrc
with some essential options
thorium runcom vim
Default options:
syntax on
Update .sqliterc
with some essential options
thorium runcom sqlite
Default options:
.headers ON
.mode column
$ 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
Generic apache controller.
Run thorium apache
for more information.
thorium help
Code is under the GPL3 license.