dextool.plugin.main.standard

Members

Functions

main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLogLevel
VerboseMode parseLogLevel(string[] args)

Parse the raw command line.

parseLogModules
NameLevel[] parseLogModules(string[] args, logger.LogLevel defaultLogLvl)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This file contains an optional main function suitable for plugins.

It takes care of configuring the logging level in std.experimental.logger if the user call the program with "-d|--debug".

This optional main function requires that: - the module is named dextool.plugin.runner - the module provides a function runPlugin that takes the program arguments.