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.44.0 lib/origen/commands/add.rb
origen-0.43.0 lib/origen/commands/add.rb
origen-0.42.2 lib/origen/commands/add.rb
origen-0.42.1 lib/origen/commands/add.rb
origen-0.42.0 lib/origen/commands/add.rb
origen-0.41.2 lib/origen/commands/add.rb
origen-0.41.1 lib/origen/commands/add.rb
origen-0.41.0 lib/origen/commands/add.rb
origen-0.40.2 lib/origen/commands/add.rb
origen-0.40.1 lib/origen/commands/add.rb
origen-0.40.0 lib/origen/commands/add.rb
origen-0.38.0 lib/origen/commands/add.rb
origen-0.37.0 lib/origen/commands/add.rb
origen-0.36.1 lib/origen/commands/add.rb
origen-0.36.0 lib/origen/commands/add.rb
origen-0.35.1 lib/origen/commands/add.rb
origen-0.35.0 lib/origen/commands/add.rb
origen-0.34.3 lib/origen/commands/add.rb
origen-0.34.2 lib/origen/commands/add.rb
origen-0.34.1 lib/origen/commands/add.rb