Package io.cloudstub.codegen
Class Main
java.lang.Object
io.cloudstub.codegen.Main
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-version — cloudstub-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 Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
- Throws:
IOException
-