You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog start --resume currently resumes the latest activity (i.e., takes over the latest entry summary). It would be helpful if there was a way to also resume the nth-to-last activity, like klog start --resume 2 for the second-to-latest one.
This probably requires introducing a new flag along the lines of --resume-nth (naming tbd), because flag values cannot be optional, and the --resume base case shouldn’t require a mandatory value of 1.
While on it, klog switch should also have that new flag / behaviour.
Resolves#282.
You can now specify which entry to resume – e.g.:
- `--resume-nth=1` takes over the summary of the first entry
- `--resume-nth=2` takes over the summary of the second entry
- `--resume-nth=-1` takes over the summary of the last entry
- `--resume-nth=-2` takes over the summary of the second-to-last entry
You can also use the shorthand `-N`. Remember to omit the delimiter
after the flag name then, so it would be `-N1`, `-N2`, `-N-1`, `-N-2`,
etc.
klog start --resume
currently resumes the latest activity (i.e., takes over the latest entry summary). It would be helpful if there was a way to also resume the nth-to-last activity, likeklog start --resume 2
for the second-to-latest one.This probably requires introducing a new flag along the lines of
--resume-nth
(naming tbd), because flag values cannot be optional, and the--resume
base case shouldn’t require a mandatory value of1
.While on it,
klog switch
should also have that new flag / behaviour.Originated in #281.
The text was updated successfully, but these errors were encountered: