llama flags

Set flags for an event directory from the command line. Query for events based on the llama.run they belong to as well as a glob-pattern matching desired eventid values.

usage: llama flags [-h] [--dry-run-dirs] -f
                   [FLAGNAME=value [FLAGNAME=value ...]] [--flag-presets]

Named Arguments

-f, --flags

A single flag preset (see: llama.flags) to use (print choices with --flag-presets) in --outdir OR individual flag settings in the format FLAGNAME=value. YOU SHOULD PROBABLY USE A PRESET rather than individual flag settings. If you don’t specify a flag preset or a set of flags manually, you’ll be prompted to provide one; just provide --flags with no arguments to accept the default/existing flags. Flags are used to set overall behaviors for an event and set intentions, e.g. to mark an event as “ONLINE” and therefore allowed to communicate with partner web APIs and send out products and alerts. Flag name options and default values (for new events) are ImmutableDict({‘UPLOAD’: ‘false’, ‘VETOED’: ‘false’, ‘ROLE’: ‘test’, ‘ICECUBE_UPLOAD’: ‘false’, ‘ONLINE’: ‘true’, ‘BLINDED_NEUTRINOS’: ‘false’}); the full set of allowed values is (‘true’, ‘false’) for VETOED, (‘true’, ‘false’) for UPLOAD, (‘true’, ‘false’) for ICECUBE_UPLOAD, (‘test’, ‘observation’) for ROLE, (‘true’, ‘false’) for ONLINE, and (‘true’, ‘false’) for BLINDED_NEUTRINOS.


Print available flag presets.

filter runs and events (see: ``llama.run``)


A pattern specifying a list of directories to update of the form /run/directory/event*glob. See end of llama run -h documentation for details. (default: /root/.local/share/llama/current_run/*


Print the runs and event directories that would be affected and exit without taking further action.

Default: False