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.34.0 lib/origen/commands/add.rb
origen-0.33.3 lib/origen/commands/add.rb
origen-0.33.2 lib/origen/commands/add.rb
origen-0.33.1 lib/origen/commands/add.rb
origen-0.33.0 lib/origen/commands/add.rb
origen-0.32.1 lib/origen/commands/add.rb
origen-0.32.0 lib/origen/commands/add.rb
origen-0.31.0 lib/origen/commands/add.rb
origen-0.30.0 lib/origen/commands/add.rb
origen-0.29.0 lib/origen/commands/add.rb
origen-0.28.2 lib/origen/commands/add.rb
origen-0.28.1 lib/origen/commands/add.rb
origen-0.28.0 lib/origen/commands/add.rb
origen-0.27.0 lib/origen/commands/add.rb
origen-0.26.0 lib/origen/commands/add.rb
origen-0.25.1 lib/origen/commands/add.rb
origen-0.25.0 lib/origen/commands/add.rb
origen-0.24.0 lib/origen/commands/add.rb
origen-0.23.0 lib/origen/commands/add.rb
origen-0.22.0 lib/origen/commands/add.rb