Sha256: 60d49e5f96e176fa5d3a1df6d9b75d13cf52730b4e0ff6d99cd7a2236573a10d

Contents?: true

Size: 771 Bytes

Versions: 8

Compression:

Stored size: 771 Bytes

Contents

if ARGV.delete('--refresh') || ARGV.delete('-refresh')
  CrossOrigen.instance_variable_set('@refresh', true)
end

# 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

8 entries across 8 versions & 1 rubygems

Version Path
cross_origen-1.4.0 config/shared_commands.rb
cross_origen-1.3.0 config/shared_commands.rb
cross_origen-1.2.3 config/shared_commands.rb
cross_origen-1.2.2 config/shared_commands.rb
cross_origen-1.2.1 config/shared_commands.rb
cross_origen-1.2.0 config/shared_commands.rb
cross_origen-1.1.0 config/shared_commands.rb
cross_origen-1.0.0 config/shared_commands.rb