לדלג לתוכן

CLI של OmarOS

OmarOS נשלטת בדרך כלל דרך קיצורי המקלדת ותפריט OmarOS (Super + Space). אבל אפשר גם לשלוט בה דרך ה-CLI של omaros. זה שימושי במיוחד כאשר סוכן AI עובד איתכם על התאמה אישית או הגדרה.

ל-CLI יש גישה לכל הכלים הפנימיים שנמצאים בשימוש הן דרך התפריט והן בדרכים אחרות. אפשר לראות את כל מה שזמין על ידי הרצת omaros בטרמינל.

זה נראה בערך כך:

~ ❯ omaros
OmarOS command center

Usage:
  omaros <command> [args...]
  omaros commands [--all] [--json] [--check]
  omaros <group> --help
  omaros <group> <command> --help

Common commands:
  omaros update              Update OmarOS and system packages
  omaros theme list          List available themes
  omaros theme set <name>    Apply a theme
  omaros font list           List available fonts
  omaros screenshot          Take a screenshot
  omaros debug               Print debugging information

Groups:
  audio          Audio input and output controls
  bar            OmarOS shell bar layout and settings
  battery        Battery status helpers
  bluetooth      Bluetooth device controls
  branch         OmarOS git branch management
  branding       About and screensaver branding
  brightness     Display and keyboard brightness
  capture        Screenshots and screen recording
  channel        OmarOS release channel management
  clipboard      Clipboard helpers
  cmd            Command and shortcut helpers
  config         System configuration helpers
  debug          Diagnostics and support logs
  ...

ואפשר לצלול עמוק יותר בכל קבוצה:

~ ❯ omaros capture
Capture commands — Screenshots and screen recording:
  omaros capture qr                                                                                                                                                                                                       Decode a QR code from a screenshot region
  omaros capture screenrecording [--fullscreen] [--with-desktop-audio] [--with-microphone-audio] [--with-webcam] [--webcam-device=<device>] [--webcam-size=<small|medium|large>] [--resolution=<size>] [--stop-recording]  Start or stop screen recording
  omaros capture screenrecording with webcam                                                                                                                                                                              Pick a webcam and start a screen recording with it
  omaros capture screenshot [smart|region|windows|fullscreen|scroll] [copy|save]                                                                                                                                          Take a screenshot
  omaros capture text                                                                                                                                                                                                     Extract text from a screenshot region with OCR
  omaros capture webcam resize <smaller|larger|reset|small|medium|large>                                                                                                                                                  Resize the active webcam recording overlay

כל פקודה מקבלת גם את --help, בין אם שואלים קבוצה שלמה (omaros capture --help) או פקודה בודדת (omaros capture screenshot --help).

פתיחת התפריט מהטרמינל

תפריט OmarOS ניתן גם לתסריט, מה שנחמד לשיוכי המקשים שלכם. הפקודה omaros menu פותחת אותו בשורש, ואפשר לקפוץ ישירות לכל נקודה בעץ על ידי ציון שמה: omaros menu summon style.theme עובר ישר לבורר ערכות הנושא, omaros menu toggle system פותח את תפריט המערכת וסוגר אותו שוב אם הוא כבר פתוח, ו-omaros menu close מסלק אותו.