-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
how to add a pause to see plugins output? #1098
Comments
@fragolinux Yes that is correct. There is nothing here to hold the output and hence the plugin finishes right away. You can use a script here to hold the output and fire it off in the plugin. |
@derailed actually it was not that complicated, I saw this in one of the latest Viktor Farcic videos :) |
Works great, thank you. |
This is unfortunately not working for me. Maybe it's possible to add a configuration for it? |
@jadolg what do you mean? i just tried and it works... beware that config files naming changed recently, i think in 0.3x, now the plugin file is named differently, and even the yaml inside changed its root topic... |
@fragolinux the plugins I can see and use without issues. What's failing for me is the wait in the end. szero-down:
shortCut: Shift-D
confirm: true
dangerous: true
description: Scale all deployments down
scopes:
- namespace
command: sh
background: false
args:
- -c
- "szero down --context $CONTEXT --namespace $NAME; read -p ''" This will do what's supposed to do but it won't wait. |
I'd like to add a pause after i run a plugin which produces output, to actually SEE that output, or even scroll it in case of formatted logs generated by a plugin... how can this be done? Thanks
example, i'd like to add helm suspend and resume, and to do tests i'm just doing "status" for now, but i can't see anything other than a flicker when i press ctrl-p
The text was updated successfully, but these errors were encountered: