         opts = defaults opts,
             project_id : required
             cb         : required
-
+        smc_compute
+            args : ['status', opts.project_id]
+            cb   : (err, r) =>
+                if err
+                    opts.cb(err)
+                else
+                    opts.cb(undefined, r['state'])
 
 ###########################
 ## Command line interface

    constructor: () ->
        @projects = {}

    # run a command for a project (error if not allowed now due to state)
    project_command: (opts) =>
        opts = defaults opts,
            project_id : required


    # information about project (ports, state, etc.)
    status: (opts) =>
        opts = defaults opts,
            cb     : required

