 # calculates options and ensures a manifest loads.
 exec = (argv, log=console.error) ->
   program = require 'commander'
-  program.version '@@version'
+  program.version VERSION
 
   # Compile command and opts
   compileCmd  = program.command 'compile'




# ## Compile
#
# The function called when `kdc-plus compile` is used.

  # `args.length == 2` for the first command, `args.length == 0` for the
  # second command.. which seems odd. So, i am using rawArgs instead.
  if program.rawArgs.length == 2
    compile process.cwd(), [], coffee: true, bare: true, log



