Package software.amazon.smithy.cli
Everything in this package should be considered an implementation detail;
the only stable interface of the Smithy CLI is passing in a list of
arguments from the command line.
-
Interface Summary Interface Description ArgumentReceiver A command line argument receiver.Arguments Command line arguments list to evaluate.BuildParameterBuilder.ClassPathTagMatcher Interface used to query a classpath for the given projection sources tags.CliPrinter Handles text output of the CLI.ColorFormatter Styles text using color codes.Command Represents a CLI command.Style Colors and styles for use withAnsiColorFormatter
orCliPrinter
. -
Class Summary Class Description BuildParameterBuilder This builder can be used to build up a Smithy CLI command to run `smithy build`.BuildParameterBuilder.JarFileClassPathTagMatcher Finds JARs by opening each JAR in the classpath and looking for "Smithy-Tags" in the META-INF/MANIFEST.MF file.BuildParameterBuilder.Result Result class used to build source and projection JARs.Cli This class provides a basic CLI abstraction.ColorBuffer AnAppendable
that supports color provided by aColorFormatter
.ColorTheme Standardizes on colors across commands.Command.Env Environment settings for the command.HelpPrinter Generates and prints structured help output.SmithyCli Entry point of the Smithy CLI.StandardOptions Options available to all commands.Style.Constant Style.Multi -
Enum Summary Enum Description AnsiColorFormatter Styles text using ANSI color codes.EnvironmentVariable Environment variables used by the Smithy CLI. -
Exception Summary Exception Description CliError Throw this exception to cause the CLI to exit with a message and code.