Class Main

java.lang.Object
io.cloudstub.codegen.Main

public class Main extends Object
Entry point for the CloudStub stub code generator.
 java -jar cloudstub-codegen.jar --model <path-or-url> [--output <dir>] [--core-version <version>] [--validate] [--verbose]
 

--model — path or HTTPS URL to a Smithy model file (.smithy IDL or .json AST).

--output — directory to write the generated module into (default: ./<module-name>).

--core-versioncloudstub-core version for the generated build.gradle (default: "0.1.0-SNAPSHOT").

--validate — validate the model and report what would be generated, without writing any files. --output and --core-version are ignored in this mode.

--verbose — print each suppressed model validation event in full (default: count only).

  • Constructor Details

    • Main

      public Main()
  • Method Details