/* * 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 with uses boost::program_options * to recognize the given options. ActionRegistry and OptionRegistry are used * to distinguish Option's from Action's. A specific type per option is expected * and the ValueStorage assures that only the correct type is parsed. * * 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 as well. But is so far only used in the regression test * to test its functionality. This will become more usefull when the * ActionHistory is stored to file and past session can be re-enacted by loading * simply it. Their undo would allow for traversing back in this history. * * * \date 2011-10-31 * */