我有一个在规范测试中运行的 gem 命令。但是,当主应用程序运行命令时,我没有看到命令显示origen h。我使用这个文档作为我的指南。这是我创建的 gem 帮助命令,它在主应用程序中不起作用(仅在 gem 本身内)。
else
# You probably want to also add the your commands to the help shown via
# origen -h, you can do this by assigning the required text to @application_commands
# before handing control back to Origen.
@application_commands = <<-EOT
fetch_test_module <testmodule> --path <dir>
EOT
end
谢谢