Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 3.43 KB

File metadata and controls

97 lines (61 loc) · 3.43 KB

src/apps/minisql_admin/main.ml

Home · Files

Provides apps minisql admin main facilities for this project.

Package: (global)

Reachable from entry: no

Imports

Declarations

main

function main(args)

Dispatches GUI launch, smoke diagnostics, and explicit connection command lines.

Parameter Type Default Description
args dynamic — Command-line or caller-supplied arguments.

View source

printAppError

function printAppError(value)

Prints one structured application error and returns a failing exit code.

Parameter Type Default Description
value dynamic — Value consumed or transformed by the operation.

View source

printUsage

function printUsage()

Prints command-line entry points for the native MiniSQL Workbench.

View source

recoverConnectionFailure

function recoverConnectionFailure(value)

Converts a direct-connect failure into a GUI error followed by a retryable manager.

Parameter Type Default Description
value dynamic — Value consumed or transformed by the operation.

View source

runProfile

function runProfile(profile, password)

Opens a profile in the native workbench and wipes the supplied password bytes.

Parameter Type Default Description
profile dynamic — profile value consumed by this operation.
password dynamic — password value consumed by this operation.

View source