Using click to manage validphys scripts
Created by: siranipour
It would be nice to have a utility like git
does with git <subcommand>
. Turns out it's not too difficult to do using click
For now I've just done the rename scripts so you can do something like:
vp-tools rename pdf NNPDF31_nnlo_as_0118_hessian foo --author="Shayan Iranipour" --author="Someone else" --description="Some new description" --reference="Some reference" --data-version="Data-version" --index="Some index" --compress --lhapdf-path
vp-tools rename fit NNPDF40_nnlo_as_0118 foo -r -c
which btw maximally uses all possible arguments.
If we think this is a good idea, I can slowly start adding the various other scripts. It's mostly just copy and pasting