Sample Operation
zoetrope opened this issue · comments
Akihiro Ikezoe commented
This issue is a sample to define a manual operation
# This is a comment
$ kubectl get pod
# You can omit `$`
kubectl get deployment
# This is a multiline command
$ kubectl get svc -n default \
-o yaml \
--show-managed-fields
ref: #5
Akihiro Ikezoe commented
Script started on 2023-04-15 16:44:44+09:00 [TERM="xterm-256color" TTY="/dev/pts/5" COLUMNS="117" LINES="29"]
The operation is started. Issue: 1.
If you want to read the help, type "help".
[gh-mop#1:Step0]$ # Press 'Ctrl + t' to auto-complete the first command.
[gh-mop#1:Step0]$ kubectl get pod
NAME READY STATUS RESTARTS AGE
sample-7fcb5b8bf6-fmpbv 1/1 Running 0 17m
sample-7fcb5b8bf6-qsf64 1/1 Running 0 17m
[gh-mop#1:Step0]$ # Run the 'next' command to proceed to the following command in the sequence.
[gh-mop#1:Step0]$ next
[gh-mop#1:Step1]$ # Press 'Ctrl + t' again to auto-complete the second command.
[gh-mop#1:Step1]$ kubectl get deployment
NAME READY UP-TO-DATE AVAILABLE AGE
sample 2/2 2 2 19m
[gh-mop#1:Step1]$ # Run 'upload' command to post the execution results in the comments of the GitHub Issue.
[gh-mop#1:Step1]$ upload