0.1.4 • Published 12 years ago

confy v0.1.4

Weekly downloads
28
License
-
Repository
github
Last release
12 years ago

node confy

Manage settings library, like as pit.

Install

$ npm install confy

Usage

javascript code

Get config from current profile.

var confy = require('confy');

confy.get('twitter.com', { require: {
  username: '',
  password: ''
}}, function(err, result) {
  console.log(result);
});

If not set values, open setting your $EDITOR.

command line

set config

$ confy set twitter.com
open $EDITOR

get config

$ confy get twitter.com
{ username: 'xxx', password: 'xxx' }

switch profile

$ confy use develop

clean all datas

$ confy clean
0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

13 years ago

0.1.0

13 years ago