Sha256: d79924017ee312495757d0820096d6a16157077d7f0a4c4baf0eaed7bddfcb80

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

# The requested command is passed in here as @command
case @command

when "cr:import"
  require "cross_origen/commands/import"
  # Important to exit when a command has been fulfilled or else Origen core will try and execute it
  exit 0

# Always leave an else clause to allow control to fall back through to the Origen command handler.
# You probably want to also add the command details to the help shown via 'origen -h',
# you can do this bb adding the required text to @plugin_commands before handing control back to
# Origen.
else
  @plugin_commands << <<-EOT
 cr:import       Import peripheral and register data from 3rd party formats
  EOT

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cross_origen-0.7.0 config/shared_commands.rb