Is there a similar tool like Ruby’s ri to search and view Crystal’s API and language reference documents?
Not that I’m aware of. There may be a shard out there for it, but nothing officially supported. Best bet would be to just keep a tab open for each and use the built-in search features.
GitHub - straight-shoota/crystal-api has a very limited CLI interface. It’s mostly a PoC.
Only thing I can think of is the generated docs like crystal doc