@Override
    public boolean testOption(String name) {
        switch (name) {
            case "--discover":
            case "-d":
                discover = true;
                return true;
            default:
                return false;
        }
    }
Arguments available to commands that use model discovery.

<p>This is currently only used by the build and validate commands as hidden options to support the Gradle plugin.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/DiscoveryOptions.java