### Setup
pubtool -defineclient -stage diff -comment Comment -destination DataStore -format MOPS

### Regularly run by pantasks to generate publishing runs based on data that has been processed
pubtool -definerun

### Regularly run by pantasks to get list of files to publish
pubtool -pending
--> publish_file.pl --pub_id 12345 --component skycell.123.456 --destination DataStore --stage diff --stage_id 67890 --format MOPS
----> pubtool -add -pub_id 12345 --component skycell.123.456 --fault 0

### Run as required
pubtool -revert

### Regularly run by pantasks to mark running publishing runs as 'full'
pubtool -advance
