You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Hey there!
This script will get this project ready to use with Sorbet by creating a
sorbet/ folder for your project. It will contain:
- a config file
- a bunch of 'RBI files'
RBI stands for'Ruby Interface'; these files define classes, methods, and
constants that exist, but which Sorbet doesn't always know about.⚠️ Heads up:To set up your project, this script will take two potentially destructiveactions:1. It will require every file in your project. Specifically, every script in your project will be run, unless that script checks if __FILE__ == $PROGRAM_NAME before running any code, or has the magic comment # typed: ignore in it.2. It will add a comment to the top of every file (like # typed: false or # typed: true, depending on how many errors were found in that file.)❔ Would you like to continue? [Y/n]
Expected behavior
This is the same output returned for srb init.
We should make srb rbi with no further subcommand exit with an error and display the available subcommands. To explicitly update all RBI files, the user should write srb rbi update.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Input
Observed output
Expected behavior
This is the same output returned for
srb init
.We should make
srb rbi
with no further subcommand exit with an error and display the available subcommands. To explicitly update all RBI files, the user should writesrb rbi update
.The text was updated successfully, but these errors were encountered: