This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <logger.hpp> | |
namespace logger { | |
boost::log::sources::severity_logger<boost::log::trivial::severity_level> log; | |
bool verbose = false; | |
bool debug = false; | |
void init() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os, argparse, logging | |
def parse_args(): | |
parser = argparse.ArgumentParser(description="Super cool thing", formatter_class=argparse.ArgumentDefaultsHelpFormatter) | |
io_options_group = parser.add_argument_group("I/O Options") | |
io_options_group.add_argument('-in', "--input", help="Input directory") | |
io_options_group.add_argument('-out', "--output", help="Output directory") |