cli.pyΒΆ
This module defines the command-line interface arguments for the
hutch-python
script. It also provides utilities that are only used at
startup.
usage: hutch-python [-h] [--cfg CFG] [--exp EXP] [--debug] [--sim]
[--create CREATE] [--hist-file [HIST_FILE]]
[script]
Launch LCLS Hutch Python
positional arguments:
script Run a script instead of running interactively
optional arguments:
-h, --help show this help message and exit
--cfg CFG Configuration yaml file
--exp EXP Experiment number override
--debug Start in debug mode
--sim Run with simulated DAQ (lcls1 only)
--create CREATE Create a new hutch deployment
--hist-file [HIST_FILE]
File to store the sqlite session history in.
${VARIABLES} will be substituted for via shell
environment variables, Though in some cases these may
be expanded by the shell prior to reaching the python
layer. If omitted, defaults to the ipython default
location. If included but left blank, defaults to
/u1/${USER}/hutch-python/history.sqlite if the folder
exists, otherwise uses the ipython default location.
This folder is a local hard-drive location for lcls
operator consoles.