datakiln.cli module

Command line of datakiln, which builds a database from a repository of files.

datakiln.cli.get_parser() → ArgumentParser[source]

Builds the parser of the commands.

Returns:

Parser, whose result has the function that runs the command and the log it writes.

Return type:

argparse.ArgumentParser

datakiln.cli.main(args: List[str] | None = None)[source]

Runs the command that was asked for.

Parameters:

args (list[str]) – Arguments of the command line. Those of the process by default.