Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These options should be provided before the sub-command, as in this example.

Code Block
languagebash
themeMidnight
conditions-cli.sh tag -p myconnection.prop -d HPS-dummy-detector -r 1234 [subcommand]

...

Here is a dummy example of using the tag command.

Code Block
languagebash
themeMidnight
conditions-cli.sh tag -s 42 -e 1001 -m LAST_CREATED -t test-tag-1

...

To use this, command the -d and -r base options should be used to initialize the conditions system.

Code Block
languagebash
themeMidnight
conditions-cli.sh tag -p myconnection.prop -d HPS-dummy-detector -r 1234 run-summary

...

Here is an example of using the load command.

Code Block
themeMidnight
conditions-cli.sh load -d "adding new ECal calibrations" -f ecal_calibrations.txt -t ecal_calibrations

...

Here is an example of using print to show all collections from a run.

Code Block
languagebash
themeMidnight
conditions-cli.sh -r 5000 -d HPS-EngRun2015-Nominal-v3 print

This command will save the given table data for the run to an output CSV file.

Code Block
themeMidnight
conditions-cli.sh -r 5000 -d HPS-EngRun2015-Nominal-v3 print -t ecal_calibrations -f ecal_calibrations_saved.txt

...