/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /** * \file commandline.dox * * Created on: Oct 31, 2011 * Author: heber */ /** * \page userinterfaces-commandline Command Line Interface * * The command line interface allows for using MoleCuilder within scripts such * system with only slightly varying parameters can be built in a straight- * forward way. * * Commands are parsed via the CommandLineParser which uses boost::program_options * to recognize the given options. ActionRegistry and OptionRegistry are used * to distinguish Option's from Action's. Each option has a specific type and a * Validator ascertains that the value associated with this option and of this * specific type matches certain criteria. * * So far the sequence of the Option's is not really important but for the * Action's the ordering counts: first come, first serve. * * Undoing is possible from the command-line as well. But is so far only used in * the regression test to test its functionality. However, as the ActionHistory, * or rather ActionQueue, can be saved as a session, this is useful as in a restored * ActionHistory undo would allow for traversing back in this history. * * * \date 2014-03-10 * */