@joyautomation/conch@0.0.26Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Joy Automataion common cli tools
Internal object containing references to key functions.
Builds a dictionary of command-line arguments and their properties.
Type alias for the SchemaBuilder returned by getBuilder
Creates a GraphQL application by combining server and CLI functionality.
The main function that runs the application. It parses command-line arguments, handles help and version flags, and starts the server if no special flags are provided. We use dynamic import to defer the server start until we have parsed the arguments. This prevents the SparkplugHost from being created if we're not going to run the server yet.
Creates a function that runs a GraphQL server.
Filters and returns argument keys from the argDictionary based on the specified type.
Creates and returns a SchemaBuilder instance with custom scalar types
Initializes the GraphQL schema with query, mutation, and subscription types
Parses command-line arguments into a structured Args object.
Prints the help message for the application, including usage instructions and available options.
Prints the current version of the application to the console.