1GNUE-SCHEMA(1) General Commands Manual GNUE-SCHEMA(1)
2
3
4
6 gnue-schema - gnue-schema
7
9 gnue-schema [ options ] file [, file, ...]
10
12 Import GNUe Schema Definition files into a given connection
13
14
16 GENERAL OPTIONS
17
18
19 --connection <connectionname>, -c
20 Use the connection <connectionname> for creating the
21 schema
22
23 --connections <location>
24 Specifies the location of the connection definition file.
25 <location> may specify a file name
26 (/usr/local/gnue/etc/connections.conf),or a URL location
27 (http://localhost/connections.conf).If this option is not
28 specified, the environent variable GNUE_CONNECTIONS is
29 checked. If neither of them is set, "/home/rein‐
30 hard/gnue/etc/connections. conf" is used as a default.
31
32 --createdb, -d
33 If this option is set, the database will be created
34 before any schema creation is done. There must be an
35 owner or a username either from the given connection-con‐
36 figuration or from the command line. This user becomes
37 the owner of the database and will be implicitly created.
38
39 --debug-file <filename>
40 Sends all debugging messages to a specified file (e.g.,
41 "--debug-file trace.log" sends all output to "trace.log")
42
43 --debug-level <level>
44 Enables debugging messages. Argument specifies the level
45 of messages to display (e.g., "--debug-level 5" displays
46 all debugging messages at level 5 or below.)
47
48 --file-only, -f
49 If this flag is set, only code is sent to the output file
50 and the schema is not created automatically.
51
52 --help Displays this help screen.
53
54 --help-config
55 Displays a list of valid configuration file entries,
56 their purpose, and their default values.
57
58 --help-connections
59 Display help information related to database connections,
60 including a list of available drivers.
61
62 --help-dev
63 Display all options of interest to core developers.
64
65 --mode <both|schema|data>, -m
66 Mode of operation. If mode is 'schema', only schema cre‐
67 ation is done.
68 If mode is 'data' only data integration is done.
69
70 --output <filename>, -o
71 Also send the code for creating the schema to this file.
72
73 --owner <owner>, -O
74 If the database is to be created this will be its owner.
75
76 --ownerpassword <ownerpwd>, -P
77 If the database is to be created this will be the pass‐
78 word used for the database owner.
79
80 --password <password>, -p
81 Set the password to connect to the database.
82
83 --silent
84 Displays no output at all.
85
86 --username <user>, -u
87 Set the username to connect to the database. If the data‐
88 base is to be created and no owner (--owner) is speci‐
89 fied, this username will be it's owner.
90
91 --version
92 Displays the version information for this program.
93
94 --yes, -y
95 If this option is set, the program runs in batch-mode,
96 which means all questions are answered with 'yes' auto‐
97 matically.
98
99 DEVELOPER OPTIONS
100
101
102 --debug-gc <logfile>, -g
103 Debug Python's garbage collection on a SIGUSR1. If
104 the argument is empty 'garbage.log' will be used
105 as logfile.
106
107 --debug-imports
108 All python imports are logged to stdout
109
110 --interactive-debugger
111 Run the app inside Python's built-in debugger
112
113 --profile
114 Run Python's built-in profiler and display the
115 resulting run statistics.
116
117 --selfdoc <type[,subtype]>
118 Generates self-documentation.
119
120 --selfdoc-file <filename>
121 Specifies the filename that selfdoc should write
122 to. If not provided,
123 output is sent to stdout.
124
125 --selfdoc-format <format>
126 Format to output the self-documentation in. Sup‐
127 ported formats are dependent on the type of self‐
128 doc being created.
129
130 --selfdoc-options <options>
131 Options specific to individual selfdoc types.
132
134 GNU Enterprise Project <info@gnue.org>
135
137 Please report any bugs to info@gnue.org. Include a com‐
138 plete, self-contained example that will allow the bug to
139 be reproduced, and say which version of this tool you are
140 using.
141
143 Copyright © 2000-2007 Free Software Foundation, Inc.
144
145 gnue-schema is free software; you can redistribute it
146 and/or modify it under the terms of the GNU General Pub‐
147 lic License as published by the Free Software Foundation;
148 either version 2, or (at your option) any later version.
149
150 gnue-schema is distributed in the hope that it will be
151 useful, but WITHOUT ANY WARRANTY; without even the
152 implied warranty of MERCHANTABILITY or FITNESS FOR A PAR‐
153 TICULAR PURPOSE. See the GNU General Public License for
154 more details.
155
156 You should have received a copy of the GNU General Public
157 License along with gnue-schema; see the file COPYING. If
158 not, write to the Free Software Foundation, 59 Temple
159 Place - Suite 330, Boston, MA 02111-1307, USA.
160
161
162
163gnue-schema 12 July 2007 GNUE-SCHEMA(1)