Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score100%
Downloads3/wk
Published2 months ago (0.0.26)

Joy Automataion common cli tools

v
_internal

Internal object containing references to key functions.

T
ArgDictionaryItem

Represents an item in the argument dictionary.

f
buildArgDictionary

Builds a dictionary of command-line arguments and their properties.

T
Builder

Type alias for the SchemaBuilder returned by getBuilder

f
createApp

Creates a GraphQL application by combining server and CLI functionality.

f
createMain

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.

f
createRunServer

Creates a function that runs a GraphQL server.

f
getArgsFromType

Filters and returns argument keys from the argDictionary based on the specified type.

f
getBuilder

Creates and returns a SchemaBuilder instance with custom scalar types

f
initialize

Initializes the GraphQL schema with query, mutation, and subscription types

f
parseArguments

Parses command-line arguments into a structured Args object.

f
printHelp

Prints the help message for the application, including usage instructions and available options.

f
printVersion

Prints the current version of the application to the console.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.