Parses command-line arguments and either starts the application,
connects as a client to a running instance, or performs a one-shot
action (version, help, init, etc.).
Parameters
args: string[]
Command-line arguments (including the binary name at index 0)
Main entry point for the AGS CLI.
Parses command-line arguments and either starts the application, connects as a client to a running instance, or performs a one-shot action (version, help, init, etc.).