configoose.cli.subcommand package

Submodules

configoose.cli.subcommand.conf module

configoose.cli.subcommand.conf.main(command, args)

Create file configooseconf.py or userconfigooseconf.py

Implementation of the conf subcommand which usage string is

usage: python -m configoose conf [-h] [-u] -m MARINADIR [-d [DESTDIR]]

Create file configooseconf.py or userconfigooseconf.py

options:
-h, --help            show this help message and exit
-u, --user            create user configuration file
-m MARINADIR, --marina MARINADIR
                        directory to use as initial marina
-d [DESTDIR], --dest [DESTDIR]
                        directory on the python path to write the python module, if value
                        is - the module is written to stdout. If omitted, module is
                        written to site-packages directory, global or user depending on
                        the --user option.

configoose.cli.subcommand.find module

configoose.cli.subcommand.find.main(command, args)

Find configuration file

Implementation of the find subcommand, which usage string is

usage: python -m configoose find [-h] [-e] ADDRESS

Find a configuration from an address

positional arguments:
ADDRESS     Abstract address of configuration

options:
-h, --help  show this help message and exit
-e, --edit  Launch editor if file found

configoose.cli.subcommand.moor module

exception configoose.cli.subcommand.moor.TagNotFoundError

Bases: Exception

configoose.cli.subcommand.moor.main(command, args)

Moor a configuration file in a marina

Implementation of the moor subcommand which usage string is

usage: python -m configoose moor [-h] [-a ADDRESS] MARINA CONFIGFILE

Moor a configuration file in a marina.

positional arguments:
MARINA                tag of target marina
CONFIGFILE            system path of configuration file to moor

options:
-h, --help            show this help message and exit
-a ADDRESS, --address ADDRESS
                        abstract address if needed. If not given, the address is extracted
                        from the configuration file

configoose.cli.subcommand.unmoor module

configoose.cli.subcommand.unmoor.main(command, args)

Unmoor a configuration file

Implementation of the unmoor subcommand which usage string is

usage: python -m configoose unmoor [-h] [-a ADDRESS] [CONFIGFILE]

Unmoor a configuration file.

positional arguments:
CONFIGFILE            system path of configuration file to unmoor

options:
-h, --help            show this help message and exit
-a ADDRESS, --address ADDRESS
                        abstract address if needed. If not given, the address is
                        exctracted from the configuration file

Module contents