dextool.plugin.main.standard

Members

Functions

parseLogLevel
auto parseLogLevel(string[] args)

Parse the raw command line.

Meta

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.

License

MPL-2