 
 module.exports =
 class Decking
-  constructor: (options) ->
-    {@command, @args} = options
-
-    @config = @loadConfig "./decking.json"
+  constructor: ({@command, @args}) ->
+    @config = {}
 
   processConfig: (config) ->
     for name, details of config.containers

      log "Uploading tarball..."
      docker.buildImage tarball, options, (err, res) ->
        return done err if err
        
        res.pipe process.stdout

        res.on "end", ->

    fn = @commands[@command]

    throw new Error "Invalid argument" if typeof fn isnt "function"

    @config = @loadConfig "./decking.json" if @command isnt "help"

    return fn.call this, (err) -> throw err if err

