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.1.1 lib/origen/commands/add.rb
origen-0.1.0 lib/origen/commands/add.rb
origen-0.0.9 lib/origen/commands/add.rb
origen-0.0.8 lib/origen/commands/add.rb
origen-0.0.6 lib/origen/commands/add.rb
origen-0.0.5 lib/origen/commands/add.rb
origen-0.0.4 lib/origen/commands/add.rb
origen-0.0.3 lib/origen/commands/add.rb
origen-0.0.2 lib/origen/commands/add.rb