Command-Line Interface

Glenn.jl provides a command-line interface for building databases and querying species properties.

Usage

# Via julia -e (no extra scripts needed)
julia --project -e 'using Glenn; Glenn.cli_main()' -- build
julia --project -e 'using Glenn; Glenn.cli_main()' -- query -s O2

# Or use the convenience script
julia --project bin/glenn.jl build -i my_thermo.inp -o my_thermo.db
julia --project bin/glenn.jl query -s CO2

Commands

build — Convert thermo.inp → SQLite3

OptionDescriptionDefault
-i, --inputInput FORTRAN fileBundled thermo.inp
-o, --outputOutput SQLite databasethermo.db
-v, --verboseEnable verbose loggingfalse

query — Run example queries

OptionDescriptionDefault
-d, --databaseSQLite database fileBundled thermo.db
-s, --speciesSpecies name patternO2
-v, --verboseEnable verbose loggingfalse

API Reference

Glenn.CLI.cli_mainFunction
cli_main(args::Vector{String}=ARGS)

Main CLI entry point. Parses arguments and dispatches to the appropriate subcommand.

source