.. include:: /substitutions.rst .. _command_line_tools: Command-line tools ================== .. todo:: viperleed gui .. todo:: Look into the sphinx-argparse extension for an easier way to automatically produce documentation for command-line tools. The ViPErLEED Python package ``viperleed`` provides a number of command-line tools that can be used to run calculations, invoke the :ref:`bookkeeper<bookkeeper>`, and run the :ref:`utilities<utilities>` and :ref:`poscar utilities<poscar_utils>`. The ViPErLEED graphical user interface can also be invoked from the command line via ``viperleed gui`` (currently, only on systems that have access to a graphical display). .. _cli_viperleed: ``viperleed`` ------------- .. argparse:: :module: viperleed.cli :class: ViPErLEEDMain :func: parser :prog: viperleed :nodefaultconst: :nosubcommands: :usagesection: :showusagemain: viperleed command See also :ref:`cli_calc`, ``viperleed gui``, :ref:`cli_bookkeeper`, :ref:`utilities`, and :ref:`poscar_utils` .. _cli_calc: ``viperleed calc`` ------------------ ``viperleed calc`` is the main command-line tool for running |LEED-IV| calculations. .. argparse:: :module: viperleed.cli :class: ViPErLEEDMain :func: parser :prog: viperleed :path: calc :nodefaultconst: :usagesection: :showusagemain: viperleed calc, viperleed.calc -v --verbose Overwrites the :ref:`LOG_LEVEL` parameter to the value ``verbose``. -vv --very-verbose Overwrites the :ref:`LOG_LEVEL` parameter to the value ``vverbose``. --tensorleed -t If not provided, the path is searched in the environment variable :envvar:`VIPERLEED_TENSORLEED`. -j --job-name See also :ref:`bookkeeper`. --no-cont : @after :ref:`bookkeeper` is not called manually with ``--cont`` before the next calculation. --history-name : @after See also :ref:`bookkeeper`. --work-history-name : @after See also :ref:`bookkeeper`. -w --work Default: ``'./work'``