#!/usr/bin/env node

/**
 * Module dependencies.
 */
var program = require('commander');

/**
 * Init.
 */
var version = "0.1.0"

/**
 * Config.
 */
program
  .version(version)
  .command('export [filename]', "export installed packages")
  .command('list', 'list packages installed')
  .parse(process.argv);


/**
 * Do Work
 */

console.log('Atom Configuration tool version %s',version);

@@ -81,16 +81,46 @@
 ander');
+%0Avar list = require('./list');
 %0A%0A/**%0A *
@@ -151,16 +151,17 @@
  %220.1.0%22
+;
 %0A%0A/**%0A *
@@ -173,16 +173,17 @@
 ig.%0A */%0A
+%0A
 program%0A
@@ -189,64 +189,54 @@
 %0A  .
-version(version)%0A  .command('export %5Bfilename%5D', %22export
+command('list')%0A  .description('list currently
  ins
@@ -254,101 +254,84 @@
 ages
-%22
+'
 )%0A  .
-command('list', 'list packages installed')%0A  .parse(process.argv);%0A%0A%0A/**%0A * Do Work%0A */
+action(function()%7B%0A    list.getList();%0A%7D);%0A%0A%0Aprogram.version(version);
 %0A%0Aco
@@ -360,17 +360,17 @@
 uration 
-t
+T
 ool vers
@@ -379,16 +379,89 @@
 n %25s',version);%0A
+%0Aprogram.parse(process.argv);%0A%0Aif (!program.args.length) program.help();%0A

Add list requirement and fix commander settings