// Code Synthesis CLI configuration
// see http://codesynthesis.com/projects/cli
//
// cli must be run everytime this file is modified:
// cli CommandLineOptions.cli
//
// to update the manpage:
// cli --stdout --man-prologue resources/manpage-prologue.1.in --man-epilogue resources/manpage-epilogue.1.in --generate-man CommandLineOptions.cli > resources/camitk-testcomponents.1.in
// 
// to check the resulting manpage, use:
// nroff -man resources/camitk-testcomponents.1.in
//
include <string>;

class options {
  bool --help | -h
  {
      "Print usage information and exit."
  };
  
  std::string --component | -c
  {"<component>",
   "The component extension to be tested (please provide the full path of the dynamic library)."
  };
  
  std::string --input | -i
  {
      "<file>",
      "input component file to test the actions on (please provide the full path to the file). Note that this file is not modified."
  };
  
  std::string --level | -l
  {
      "<level>",
      "The test level to proceed, either \c{1} or \c{2}.
      
      \c{1} will create a CamiTK application, load the extension and then open the provided component file.
      
      \c{2} will create a CamiTK application, load the extension, open the provided component file,
      save the component to a new file and then close the component."
  };

  std::string --output-dir | -o 
  {
      "<path>",
      "[Optional] Directory where the output file will be saved."
  };
};
