Sha256: 627a1d86aae0db83ab41dfa74b5f15bb84f6de722110ddcccb1d38abf039530f
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
command :init do |c| c.workflow :all c.desc "Initializes a new repository in the current directory." c.on_run do |options, args| path = args.first ? args.first : '.' Amp::Repositories::LocalRepository.new(path, true, options[:global_config]) puts "New repository initialized." end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
amp-0.5.2 | lib/amp/commands/commands/init.rb |
amp-0.5.1 | lib/amp/commands/commands/init.rb |
amp-pure-0.5.0 | lib/amp/commands/commands/init.rb |
amp-0.5.0 | lib/amp/commands/commands/init.rb |