litmuschaos / litmusctl

Command-Line tool to manage Litmuschaos's agent plane
Apache License 2.0
24 stars 42 forks source link

Probes describe command #215

Closed shivam-Purohit closed 4 months ago

shivam-Purohit commented 6 months ago

Addition of describe probe command

usage : litmusctl describe probe --project-id="" --probe-id=""

output :

getprobeyaml: |

  cmdProbe/inputs:

    command: get

    comparator:

      criteria: ==

      type: int

      value: "200"

  mode: Continuous

  name: shivamcmd

  runProperties:

    interval: 1s

    probeTimeout: 1s

  type: cmdProbe
shivam-Purohit commented 4 months ago

@SarthakJain26 addressed both the comments