Skip to content

Implement verdi profile show#2028

Merged
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_2027_verdi_profile_show
Oct 5, 2018
Merged

Implement verdi profile show#2028
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_2027_verdi_profile_show

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Oct 5, 2018

Fixes #2027

This command will show the settings for a given profile, or the
default profile if no profile is specified. To facilitate this
a new click parameter type ProfileParamType is defined, which
provides automatic validation as well as auto complete support.

@sphuber sphuber force-pushed the fix_2027_verdi_profile_show branch from 71253fa to d1a808b Compare October 5, 2018 15:46
Copy link
Copy Markdown
Member

@giovannipizzi giovannipizzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful!

BTW, in the docs, do we still have an hardcoded list of verdi commands/are we keeping it updated? Should we make the list auto-generated?

@sphuber
Copy link
Copy Markdown
Contributor Author

sphuber commented Oct 5, 2018

Yes it is still hardcoded. Now that we have fully migrated to click we can generate it procedurally. I already have some initial solution, but had to park it due to other priorities. I will finish it at some point

@sphuber sphuber force-pushed the fix_2027_verdi_profile_show branch from d1a808b to c29702d Compare October 5, 2018 15:59
This command will show the settings for a given profile, or the
default profile if no profile is specified. To facilitate this
a new click parameter type `ProfileParamType` is defined, which
provides automatic validation as well as auto complete support.
@sphuber sphuber force-pushed the fix_2027_verdi_profile_show branch from c29702d to 4c68fc0 Compare October 5, 2018 16:10
@coveralls
Copy link
Copy Markdown

coveralls commented Oct 5, 2018

Coverage Status

Coverage increased (+7.7%) to 67.726% when pulling 4c68fc0 on sphuber:fix_2027_verdi_profile_show into 9335c65 on aiidateam:develop.

@sphuber sphuber merged commit 67b36fe into aiidateam:develop Oct 5, 2018
@sphuber sphuber deleted the fix_2027_verdi_profile_show branch October 5, 2018 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants