Skip to content

cho45/pit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= pit


== Description

pit is account management tool.


== Installation

=== Archive Installation

	rake install

=== Gem Installation

	gem install pit


== Features/Problems


== Synopsis

command:

	$ pit set twitter.com
	open 'twitter.com' config with $EDITOR"

	$ pit get twitter.com | lv
	get config of 'twitter.com' by YAML.

	$ pit switch dev
	switch profile to 'dev'

ruby lib.

	require "pit"

	config = Pit.get("twitter.com", :require => {
		"username" => "default value",
		"password" => "default value"
	})

	Pit.get("vox.com", :require => {
		"username" => "default value",
		"password" => "default value"
		"nickname" => "default value"
	})

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

== Copyright

Author::    cho45 <cho45@lowreal.net>
Copyright:: Copyright (c) 2008 cho45
License::   Ruby's