         , ->
           process.exit()
 
+
+      # just actions
+      else if argv._[1] is '-actions'
+
+        gentry.runActions questions, answers, ->
+          process.exit()
+
+      # no args = usage
       else
         usage()
 

path      = require 'path'
min       = require 'minimist'
gentry    = require 'gentry'  
runner    = require 'gentry-runner-cli'

#questions = require '../app/questions'

if argv._.length is 0 then return usage()

else

  try

    generator = require "gentry-#{argv._[0]}"
    questions = generator.questions

    runner questions, (answers) ->

      # scaffold
      if !argv._[1]?

        dest = process.cwd() + "/#{answers.package.name}"
        gentry.autoScaffold
          answers: answers
