-
-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature
I would like to have the shell integration have access to the command line that was started when the channel is invoked with C-t
Examples
My use case is as follows:
For kubernetes you run `kubectl get [thing]', which lists all of the "things".
On the right-hand side I want to call kubectl get <thing> {0} ... where {0} is the name return from the first get, like this:
kubectl get pods | tv --preview 'kubectl get pods {0} -oyaml | bat -l yaml --color=always'
List of pods on the left, full yaml of pod on the right.
For a shell integration with a channel, the channel needs to know what the initial command line is, in this case kubectl get pods so it can pass the "things", pods in this case` to the preview command.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request