Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use flatiron-cli-version

  • Loading branch information...
commit c2a652dd538f576866a4dac8c217fdf114ad25c5 1 parent ce68496
@pksunkara authored
Showing with 8 additions and 8 deletions.
  1. +2 −2 bin/hub
  2. +6 −6 package.json
View
4 bin/hub
@@ -17,10 +17,10 @@ var usage = [
'https://github.com/pksunkara/hub',
];
-app.name = 'hub';
-
app.config.file({ file: '.hubconfig', dir: process.env.HOME, search: true });
+app.use(require('flatiron-cli-version'));
+
app.use(flatiron.plugins.cli, {
source: path.join(__dirname, '..', 'lib', 'commands'),
usage: usage.join('\n')
View
12 package.json
@@ -3,7 +3,7 @@
"version": "0.1.0",
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pkumar.github.com)",
"description": "make working with github easier",
- "main": "./lib/hub",
+ "main": "./lib/index",
"repository": {
"type": "git",
"url": "git://github.com/pksunkara/hub.git"
@@ -26,13 +26,13 @@
}
],
"dependencies": {
- "octonode": "0.1.1",
- "flatiron": "0.1.13",
- "flatiron-cli-config": "0.1.1"
+ "octonode": "0.1.x",
+ "flatiron": "0.1.x",
+ "flatiron-cli-version": "0.1.x",
+ "flatiron-cli-config": "0.1.x"
},
"devDependencies": {
- "cli-easy": "0.1.0",
- "vows": "0.6.1"
+ "vows": "0.6.2"
},
"engines": {
"node": ">=0.6.0"
Please sign in to comment.
Something went wrong with that request. Please try again.