Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --human option to CLI API #52

Open
matthewfeickert opened this issue Jan 19, 2021 · 1 comment
Open

Add --human option to CLI API #52

matthewfeickert opened this issue Jan 19, 2021 · 1 comment
Assignees
Labels
API Change to the Python or CLI API enhancement

Comments

@matthewfeickert
Copy link
Collaborator

To make things like the Danny Antrim option more digestable it might be worth adding a --human or --header flag option to the CLI API that would print human readable column headers above the relevant output.

So something like (with the correct formatting)

$ pandamon user.feickert --days 100 --more-info --human | head -n 6
status      taskid    reqid     % fin  % failed taskname
done        23224391  14645     100%   0%     user.feickert.364712.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ12WithSW.e7142_s3126_r10724_p4128._2020-11-17_01-00/ 
done        23224390  14638     100%   0%     user.feickert.364711.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ11WithSW.e7142_s3126_r10724_p4128._2020-11-17_01-00/ 
done        23224388  14637     100%   0%     user.feickert.364710.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ10WithSW.e7142_s3126_r10724_p4128._2020-11-17_01-00/ 
done        23224387  14636     100%   0%     user.feickert.364709.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ9WithSW.e7142_s3126_r10724_p4128._2020-11-17_01-00/ 
done        23224386  14635     100%   0%     user.feickert.364708.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ8WithSW.e7142_s3126_r10724_p4128._2020-11-17_01-00/
@matthewfeickert matthewfeickert added enhancement API Change to the Python or CLI API labels Jan 19, 2021
@matthewfeickert matthewfeickert self-assigned this Jan 19, 2021
@dguest
Copy link
Owner

dguest commented Jan 20, 2021

Good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Change to the Python or CLI API enhancement
Projects
None yet
Development

No branches or pull requests

2 participants