mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
953 B
953 B
SuccessCheck
Execute a shell command and check its exit status
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| command | str | The shell command to execute | |
| type | str |
Example
from goose_api.models.success_check import SuccessCheck
# TODO update the JSON string below
json = "{}"
# create an instance of SuccessCheck from a JSON string
success_check_instance = SuccessCheck.from_json(json)
# print the JSON string representation of the object
print(SuccessCheck.to_json())
# convert the object into a dict
success_check_dict = success_check_instance.to_dict()
# create an instance of SuccessCheck from a dict
success_check_from_dict = SuccessCheck.from_dict(success_check_dict)