Sha256: 5d3e20d3992bd5fbe0c37257c1f1ff3e216796a1514ba78796c3f50bc8d57358
Contents?: true
Size: 960 Bytes
Versions: 15
Compression:
Stored size: 960 Bytes
Contents
module Nucleon module Action module Project class Create < Nucleon.plugin_class(:nucleon, :action) include Mixin::Action::Project #----------------------------------------------------------------------------- # Info def self.describe super(:project, :create, 1000) end #----------------------------------------------------------------------------- # Settings def configure super do codes :project_failure register_str :path, Dir.pwd project_config config[:project_reference].default = '' end end #--- def arguments [ :project_reference ] end #----------------------------------------------------------------------------- # Operations def execute super do info('start') project = project_load(settings[:path], true, true) myself.status = code.project_failure unless project end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems