-
Notifications
You must be signed in to change notification settings - Fork 72
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
Overhaul CLI documentation and aesthetics #2703
Conversation
Passing run #628 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2703 +/- ##
==========================================
+ Coverage 86.60% 86.75% +0.14%
==========================================
Files 290 291 +1
Lines 16242 16312 +70
Branches 2065 2066 +1
==========================================
+ Hits 14066 14151 +85
+ Misses 1793 1777 -16
- Partials 383 384 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
click
with `rich_clickclick
with rich_click
click
with rich_click
@SteveDMurphy do the |
They were primarily added for running tests against the commands, we can probably revamp those to either check a temp directory that the file exists if we want to get rid of them? (overlap with Separately, @sanders41 and I were discussing the value of keeping all of the export commands, potentially removing them as something else to maintain and being able to simplify the export datamap + custom fields stuff. Would be curious to hear your thoughts too! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLI docs formatting is 💯 . Just noted minor things as I experimented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have thoughts on the entire CLI design, but export did stick out as something that confused me, which means there's a high likelihood it would confuse users too. I'll follow this up in the other issue for CLI design #2718 |
Patch coverage is down but overall coverage is up. Testing the remaining patch pieces is not worth it from a time perspective (and complexity of testing those specific pieces) in my opinion |
Closes #2702
Closes #2704
Code Changes
rich-click
torequirements
options.py
fides -h
Steps to Confirm
fides view credentials
, confirm failure (no file)fides user login
, do the thing, thenfides view credentials
and verify the outputPre-Merge Checklist
CHANGELOG.md
Description Of Changes
The aesthetics of the UI did not spark joy, so the
rich_click
package was added as a drop-in replacement toclick
that gives us great aesthetics for free while also being highly customizable.An important note is that as part of this change, all help text rendered by the CLI will be assumed to be Markdown