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]
                   [run]

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({‘ONLINE’: ‘true’, ‘VETOED’: ‘false’, ‘BLINDED_NEUTRINOS’: ‘false’, ‘UPLOAD’: ‘false’, ‘ICECUBE_UPLOAD’: ‘false’, ‘ROLE’: ‘test’}); the full set of allowed values is (‘true’, ‘false’) for UPLOAD, (‘true’, ‘false’) for VETOED, (‘test’, ‘observation’) for ROLE, (‘true’, ‘false’) for BLINDED_NEUTRINOS, (‘true’, ‘false’) for ICECUBE_UPLOAD, and (‘true’, ‘false’) for ONLINE.
--flag-presets Print available flag presets.

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

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: /home/vagrant/.local/share/llama/current_run/*
--dry-run-dirs
Print the runs and event directories that would be affected and exit without taking further action.

Default: False