Sha256: e51b35c943fa48626624e3bb8d2892db781df11598a148988e8793e785504bd5
Contents?: true
Size: 782 Bytes
Versions: 4
Compression:
Stored size: 782 Bytes
Contents
// // vi:cin:et:sw=4 ts=4 // // config.h - part of drafter // // Created by Jiri Kratochvil on 2015-02-13 // Copyright (c) 2015 Apiary Inc. All rights reserved. // #ifndef DRAFTER_CONFIG_H #define DRAFTER_CONFIG_H #include <string> struct Config { std::string input; bool lineNumbers; bool validate; std::string format; std::string sourceMap; std::string output; }; /** * \brief parse commandline params * * \param argc argc as received to main() * \param argv argv as received to main() * \param conf output - parsed parameters * * side effect - can call exit() if wrong params are sent to program */ void ParseCommadLineOptions(int argc, const char *argv[], /** out */Config& conf); #endif /* end of include guard: DRAFTER_CONFIG_H */
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
redsnow-0.4.4 | ext/drafter/src/config.h |
redsnow-0.4.3 | ext/drafter/src/config.h |
redsnow-0.4.1 | ext/drafter/src/config.h |
redsnow-0.4.0 | ext/drafter/src/config.h |