Sha256: d4cd43848f687f3255bad38648d317f7d8a5d79f7d17d58fbc2c0e8c883263a7

Contents?: true

Size: 342 Bytes

Versions: 149

Compression:

Stored size: 342 Bytes

Contents

require 'origen/code_generators'

# if no argument/-h/--help is passed to origen add command, then
# it generates the help associated.
if [nil, '-h', '--help'].include?(ARGV.first)
  Origen::CodeGenerators.help 'add'
  exit
end

name = ARGV.shift

Origen::CodeGenerators.invoke name, ARGV # , behavior: :invoke, destination_root: Origen.root

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
origen-0.5.5 lib/origen/commands/add.rb
origen-0.5.4 lib/origen/commands/add.rb
origen-0.5.3 lib/origen/commands/add.rb
origen-0.5.2 lib/origen/commands/add.rb
origen-0.5.1 lib/origen/commands/add.rb
origen-0.5.0 lib/origen/commands/add.rb
origen-0.4.3 lib/origen/commands/add.rb
origen-0.4.2 lib/origen/commands/add.rb
origen-0.4.1 lib/origen/commands/add.rb
origen-0.4.0 lib/origen/commands/add.rb
origen-0.3.0 lib/origen/commands/add.rb
origen-0.2.6 lib/origen/commands/add.rb
origen-0.2.5 lib/origen/commands/add.rb
origen-0.2.4 lib/origen/commands/add.rb
origen-0.2.3 lib/origen/commands/add.rb
origen-0.2.2 lib/origen/commands/add.rb
origen-0.2.1 lib/origen/commands/add.rb
origen-0.2.0 lib/origen/commands/add.rb
origen-0.1.3 lib/origen/commands/add.rb
origen-0.1.2 lib/origen/commands/add.rb