sukrutrao / Timetabler

A customizable timetabling software for educational institutions that encodes timetabling constraints as a SAT formula and solves them using a MaxSAT solver
https://timetabler.readthedocs.io
MIT License
37 stars 9 forks source link

Command line arguments using getopt #30

Closed prateekkumarweb closed 5 years ago

prateekkumarweb commented 5 years ago

Following arguments are supported.

Usage:
 timetabler -i|--input <input_file> -f|--fields <fields_file> [-c|--custom <custom_constraints_file>] -o|--output <output_file>

Options:
-h, --help      display this help
-f, --fields    fields yaml file
-i, --input     input csv file
-c, --custom    custom constraints file
-o, --output    output csv file
-v, --version   display version
prateekkumarweb commented 5 years ago

Same reason of having version.h and not in main.cpp

---- On Fri, 02 Nov 2018 17:50:03 +0530 notifications@github.com wrote ----

@GoodDeeds commented on this pull request.

Why does version have to be in a separate file instead of CMakeLists.txt?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.