Sha256: 8f688c2bec25373a66986612b08c16ad162de80e6445c1a5037511750aeeb372

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

module Aid
  module Scripts
    class Init < Aid::Script
      def self.description
        "Sets up aid in your project"
      end

      def run
        step "Creating .aid directory" do
          system! "mkdir -p #{aid_directory}"
        end

        puts
        puts "All done! To create your first script, run "\
          "#{colorize(:green, "aid new [script-name]")}"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aid-0.1.3 lib/aid/scripts/init.rb
aid-0.1.2 lib/aid/scripts/init.rb
aid-0.1.1 lib/aid/scripts/init.rb
aid-0.1.0 lib/aid/scripts/init.rb