ucsschool.importer.frontend package

Submodules

ucsschool.importer.frontend.cmdline module

ucsschool.importer.frontend.parse_user_import_cmdline module

Default command line frontend for import.

class ucsschool.importer.frontend.parse_user_import_cmdline.ParseUserImportCmdline[source]

Bases: object

Setup a command line frontend.

Setup the parser. Override to add more arguments or change the defaults.

parse_cmdline()[source]

Parse the command line.

Returns

the object with the parsed arguments assigned to attributes

Return type

argparse.Namespace

apply_quirks(settings)[source]

Apply modifications that cannot be done automatically.

ucsschool.importer.frontend.user_import_cmdline module