Sha256: 16c2b7d7d8727c866fd4faefe4becce700a093f180982947af2f63e12d4dcc4d
Contents?: true
Size: 575 Bytes
Versions: 8
Compression:
Stored size: 575 Bytes
Contents
module Inesita class CLI < Thor include Thor::Actions check_unknown_options! namespace :new desc 'new PROJECT_NAME', 'Create Inesita app' method_option :force, aliases: :f, default: false, desc: 'force overwrite' def new(project_dir) directory('template', project_dir, project_name: project_dir, build_dir: Inesita::Config::BUILD_DIR) inside project_dir do run 'bundle install' end end def self.source_root File.dirname(__FILE__) end end end
Version data entries
8 entries across 8 versions & 1 rubygems