gnue-schema1
Gnue schema scripter
Usage
gnue-schema [options]
gsd-file
[gsd-file
gsd-file ...]
Overview
GNUe Schema Scripter creates database schemas based on GNUe Schema Definitions.
Options
- GENERAL OPTIONS
-
--connection <connectionname>, -c -
Use the connection <connectionname> for creating the schema
-
--connections <loc> -
Specifies the location of the connection definition file. <loc> may specify a file name (/usr/local/gnue/etc/connections.conf),or a URL location (http://localhost/connections.conf).If this option is not specified, the environent variable GNUE_CONNECTIONS is checked.If neither of them is set, "/home/reinhard/gnue/etc/connections.conf" is used as a default.
-
--createdb, -d -
If this option is set, the database will be created before any schema creation is done. There must be a username either from the given connection-configuration or from the command line. This user becomes the owner of the database and will be implicitly created.
-
--debug-file <filename> -
Sends all debugging messages to a specified file (e.g., "--debug-file trace.log" sends all output to "trace.log")
-
--debug-level <level> -
Enables debugging messages. Argument specifies the level of messages to display (e.g., "--debug-level 5" displays all debugging messages at level 5 or below.)
-
--file-only, -f -
If this flag is set, only code is sent to the output file and the schema is not created automatically.
-
--help -
Displays this help screen.
-
--help-config -
Displays a list of valid configuration file entries, their purpose, and their default values.
-
--help-connections -
Display help information related to database connections, including a list of available drivers.
-
--help-dev -
Display all options of interest to core developers.
-
--mode <both|schema|data>, -m -
Mode of operation. If mode is 'schema', only schema creation is done.
If mode is 'data' only data integration is done.
-
--output <filename>, -o -
Also send the code for creating the schema to this file.
-
--password <password>, -p -
Set the password for the database.
-
--silent -
Displays no output at all.
-
--username <user>, -u -
Set the username for the database. If the database is to be created, this username will be it's owner.
-
--version -
Displays the version information for this program.
-
--yes, -y -
If this option is set, the program runs in batch-mode, which means all questions are answered with 'yes' automatically.
- DEVELOPER OPTIONS
-
--interactive-debugger -
Run the app inside Python's built-in debugger
-
--profile -
Run Python's built-in profiler and display the resulting run statistics.
-
--selfdoc <type[,subtype]> -
Generates self-documentation.
-
--selfdoc-file <filename> -
Specifies the filename that selfdoc should write to. If not provided,
output is sent to stdout.
-
--selfdoc-format <format> -
Format to output the self-documentation in. Supported formats are dependent on the type of selfdoc being created.
-
--selfdoc-options <options> -
Options specific to individual selfdoc types.