pitcgi

Description

pitcgi is account management tool for cgi.

Installation

Archive Installation

$ rake install

Gem Installation

$ gem install pitcgi

Setup

$ pitcgi init

Features/Problems

Synopsis

command:

$ pitcgi set twitter.com

open 'twitter.com' config with $EDITOR.

$ pitcgi get twitter.com | lv

get config of 'twitter.com' by YAML.

$ pitcgi switch dev

switch profile to 'dev'

ruby lib.

require "pitcgi"

config = Pitcgi.get("twitter.com", :require => {
  "username" => "Number, mail address or username",
  "password" => "Password"
})

Pitcgi.get("vox.com", :require => {
  "username" => "Username",
  "password" => "Password"
  "nickname" => "Nickname"
})

Pitcgi.get open $EDITOR with require hash if the setting does not have required keys.

Author:

Copyright:

  • Copyright (c) 2008 cho45
  • Copyright (c) 2014-2015 sanadan

License:

  • Ruby's