Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

SyntaxSuggest::Cli.new

new(argv:, exit_obj: Kernel, io: $stdout, env: ENV)

ARGV is Everything passed to the executable, does not include executable name

All other intputs are dependency injection for testing

See also #call #parse also in 4.0 · 3.4 · 3.2