Init command#

Help#

The help text for the init subcommand can be shown by passing the -h flag.

[1]:
%%bash
metacatalog init -h
usage: metacatalog init [-h] [--version] [--connection CONNECTION] [--verbose]
                        [--quiet] [--dev] [--logfile LOGFILE]
                        [--ignore IGNORE [IGNORE ...]]

optional arguments:
  -h, --help            show this help message and exit
  --version, -v         Returns the module version
  --connection CONNECTION, -C CONNECTION
                        Connection string to the database instance.Follows the
                        syntax: driver://user:password@host:port/database
  --verbose, -V         Activate extended output.
  --quiet, -q           Suppress any kind of output.
  --dev                 Development mode. Unexpected errors will not be
                        handled and the full traceback is printed to the
                        screen.
  --logfile LOGFILE     If a file is given, output will be written to that
                        file instead of printed to StdOut.
  --ignore IGNORE [IGNORE ...], -I IGNORE [IGNORE ...]
                        List tables to be ignored for default population.

Usage#

The init command just runs two other commands. First, create and then populate. Refer to their documentation for more info

See Also#