Skip to content
Discussion options

You must be logged in to vote

Yes that is how you invoke a subcommand, by passing a nested Hash of options into the outer-command. All of the same execution methods can be used (ex: .run, .spawn, .capture, .popen, .sudo) to execute subcommands. Off the top of my head, there's ruby-amass which defines subcommands for the amass CLI.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eklatzer
Comment options

@postmodern
Comment options

Answer selected by eklatzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants