CLI commands

โฟลว์ (เปลี่ยนเส้นทาง)

OmeniaClaw tasks flow

ไม่มีคำสั่งระดับบนสุด OmeniaClaw flows การตรวจสอบ TaskFlow แบบคงทนอยู่ภายใต้ OmeniaClaw tasks flow

คำสั่งย่อย

bash
OmeniaClaw tasks flow list   [--json] [--status <name>]OmeniaClaw tasks flow show   <lookup> [--json]OmeniaClaw tasks flow cancel <lookup>
คำสั่งย่อย คำอธิบาย อาร์กิวเมนต์ / ตัวเลือก
list แสดงรายการ TaskFlow ที่ติดตามอยู่ เอาต์พุตที่เครื่องอ่านได้ --json; ตัวกรอง --status <name> (ดูค่าสถานะด้านล่าง)
show แสดง TaskFlow หนึ่งรายการ id ของ flow หรือคีย์เจ้าของ <lookup>; เอาต์พุตที่เครื่องอ่านได้ --json
cancel ยกเลิก TaskFlow ที่กำลังทำงานอยู่ id ของ flow หรือคีย์เจ้าของ <lookup>

<lookup> ยอมรับได้ทั้ง id ของ flow (ที่ส่งกลับโดย list / show) หรือคีย์เจ้าของของ flow (ตัวระบุที่เสถียรซึ่งระบบย่อยที่เป็นเจ้าของใช้เพื่อติดตาม flow)

ค่าตัวกรองสถานะ

--status บน list ยอมรับค่าใดค่าหนึ่งต่อไปนี้:

queued, running, waiting, blocked, succeeded, failed, cancelled, lost

ตัวอย่าง

bash
OmeniaClaw tasks flow listOmeniaClaw tasks flow list --status runningOmeniaClaw tasks flow list --jsonOmeniaClaw tasks flow show flow_abc123OmeniaClaw tasks flow show flow_abc123 --jsonOmeniaClaw tasks flow cancel flow_abc123

สำหรับแนวคิดและการเขียน TaskFlow แบบเต็ม โปรดดู TaskFlow สำหรับคำสั่งแม่ tasks โปรดดู เอกสารอ้างอิง CLI ของ tasks

ที่เกี่ยวข้อง

Was this useful?
On this page

On this page