-
-
Notifications
You must be signed in to change notification settings - Fork 142
feat(framework): add config:show command
#732
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
feat(framework): add config:show command
#732
Conversation
|
So, I have a few thoughts about this:
|
config:status command
rename `config:status` to `config:show` rename `json` format to `pretty`
Right now I don't see where non-formatted JSON would be needed (maybe in some SSH connections between different systems?), But I changed it to
I didn't know about
I agree, I changed it to my first take on this, to |
config:status commandconfig:show command
|
👌
It's useful for interop—for instance, an IDE extension
The search component and |
Agree now that I see it. Let's take @innocenzi feel free to review and merge when you're comfortable with it, I really like it 👍 |
|
I like this, let's merge :) |
This pull request brings
tempest config:show [format=pretty {dump|pretty|file}] [--search=false] [filter=null]command.This command loads config loaded by tempest, and dumps it to terminal in given format.
Supported formats are
lwfunction@typefield to annotate its classBoth
prettyandfileformats are formatted using Highlight.--filterarg allows to narrow returned configs by filepath or classname.So this is possible
and
--searcharg allows you to interactively select the configuration file you want to display withSearchComponent.