CaptureMann từ dòng lệnh.
Mỗi tính năng là một lệnh. Tự động hóa việc chụp màn hình, quay màn hình, chép lời và xuất tệp bằng script, hoặc nối chúng với các công cụ bạn đang dùng. Các lệnh giao tiếp với ứng dụng ngay trên máy bạn; không có gì đi qua máy chủ.
Cài đặt
Lệnh capturemann có sẵn trong mọi gói CaptureMann, cạnh máy chủ MCP.
# Lệnh nằm trong ứng dụng. Chỉ cần liên kết một lần:$ sudo ln -s /Applications/CaptureMann.app/Contents/MacOS/capturemann /usr/local/bin/capturemann# Cài bằng Homebrew? Cask đã liên kết sẵn.$ capturemann --version
Bắt đầu nhanh
$ capturemann capture screenshot --window "Brightdesk" --copy$ capturemann record start --display 1 --camera on --mic default# CaptureMann hỏi trên màn hình: bắt đầu quay? Nó chờ bạn trả lời.$ capturemann record stop$ capturemann ai transcribe rec_0412 --language en --wait
Lệnh
71 lệnh trong 27 nhóm, sắp xếp theo cách bạn làm việc. Mở một lệnh để xem mọi cờ, hoặc chạy capturemann <command> --help. Mỗi lệnh là cùng một thao tác với một công cụ MCP.
Mô tả và trang của từng lệnh bằng tiếng Anh.
Chụp
- capturemann targets listSame as capturemann targets
- capturemann capture screenshotTake a screenshot of a display, a window or a regionPreview
- capturemann capture getShow a capture's metadata and optionally save its current image
- capturemann devicesList cameras, microphones and system-audio support (list_devices)
- capturemann textPrint the text in a screenshot (recognize_text, read-only, on this computer only)
- capturemann presets listList the presets
Chú thích và bảng
- capturemann annotateAdd annotation ops to a screenshot (annotate)
- capturemann undoUndo the last revision of a capture (undo)
- capturemann redoRedo the last undone revision of a capture (redo)
- capturemann boardPut 2 to 12 screenshots into one new picture (create_board)
- capturemann export-imagesResize, convert, watermark and rename many screenshots at once (export_images, Bulk export)
Quay
- capturemann record startStart a recording (start_recording)
- capturemann record pausePause the running recording (pause_recording)
- capturemann record resumeResume a paused recording (resume_recording)
- capturemann record micMute or unmute the microphone of the running recording without stopping it (set_mic_muted)
- capturemann record markerAdd a marker (a moment to come back to) to the running recording at the current time (add_marker), or to a..
- capturemann record stopStop and save the recording (stop_recording)
- capturemann record statusShow the state of the recording
- capturemann record selftestTest whether this machine records 60 fps without late frames (run_fps_selftest)
- capturemann record watchStream recording.* events until interrupted
- capturemann cursorPrint the pointer path and clicks of a recording (get_cursor_track)
Chỉnh sửa
- capturemann edit trimKeep only START..END (trim)
- capturemann edit cutCut ranges like 10-15 40-42 (cut_segments); all are one undo step
- capturemann edit restoreBring cut ranges back (restore_segments)
- capturemann edit splitAdd a segment boundary (split)
- capturemann edit speedPlay a range like 30-50 at --x times normal speed, 0.25 to 8 (set_speed)
- capturemann edit backgroundFrame the screen on a background (set_background)
- capturemann edit audioBalance the mic and system audio (set_audio_mix)
- capturemann edit cameraSet how the screen and the camera share the frame over a range like 0-15 (set_camera_layout)
- capturemann edit zoomAdd a zoom region (set_zooms)
- capturemann edit cursorStyle the telemetry cursor (set_cursor_style)
- capturemann edit reframeReframe for a vertical or square export (set_reframe)
Bản chép lời, phụ đề và báo cáo
- capturemann ai modelsList the speech models, or manage them
- capturemann ai text-modelsList the text models of the engine built into CaptureMann, or manage them
- capturemann ai transcribeTranscribe a recording with an installed model (transcribe); without a model it tells you how to get one (e..
- capturemann ai transcriptPrint a recording's transcript and caption lines (get_transcript)
- capturemann ai normalizeAdd punctuation, capital letters and paragraph breaks to a transcript with the local text model, without ch..
- capturemann ai normalizedPrint the normalised transcript (get_normalized_transcript)
- capturemann ai captionsEdit the caption lines (set_captions)
- capturemann ai translateTranslate the captions into another language (translate_captions)
- capturemann ai suggestSuggestions only, nothing is applied (suggest_zooms, suggest_cuts)
- capturemann ai text-modelShow how the text model is set up (get_text_model), or test it
- capturemann ai speakersFind who spoke when (diarize), or fix the speakers
- capturemann ai reportWrite a report from a recording's transcript with the local text model (generate_report)
Xuất và nhập
- capturemann exportRender a recording to one combined MP4 with the FFmpeg sidecar (export_video)
- capturemann importBring media files and pictures that CaptureMann did not record into the library as captures (import_media)
Tải lên và đăng tải
- capturemann destinationsList the destinations set up in Settings (list_destinations)
- capturemann uploadCopy a capture or a file to a destination in the background (upload)
- capturemann publish accountsList the connected publish accounts with today's upload count (list_publish_accounts)
- capturemann platform-rulesPrint the limits, required fields, privacy options and export presets of a publishing platform (get_platfor..
Click Guide
- capturemann guide startStart a Click Guide (start_guide)Preview
- capturemann guide stopStop the recording guide (stop_guide) and print itPreview
- capturemann guide getPrint a guidePreview
- capturemann guide setChange a guide (set_guide)Preview
- capturemann guide exportExport a guide (export_guide)Preview
Thư viện và cài đặt
- capturemann library listList captures, newest first
- capturemann library searchFull-text search (same as list --query)
- capturemann library renameRename a capture
- capturemann library rmMove a capture to the Trash (delete_capture)
- capturemann library moveChange the folder the library lives in (move_library)
- capturemann settings getPrint settings (all, or the given dotted keys)
- capturemann settings setSet KEY VALUE pairs; a value is JSON when it parses (60, true), else a string
Tác vụ và hệ thống
- capturemann jobs getShow one job
- capturemann jobs listList jobs, newest first (list_jobs)
- capturemann jobs cancelCancel a job; cancelling a cancelled job does nothing (cancel_job)
- capturemann jobs retryRetry a failed or cancelled job, or continue one that is waiting for a sign-in (retry_job)
- capturemann jobs watchPrint the active jobs, then stream job.* events until interrupted
- capturemann daemon startMake sure a daemon is running (starts a headless one if needed)
- capturemann daemon statusReport whether a daemon is running (exit 5, daemon_unavailable, if not)
- capturemann mcpRun the MCP server (the cm-mcp binary next to this one)
- capturemann diagnosticsPrint the diagnostics report to paste into an issue (get_diagnostics)
Tùy chọn cho mọi lệnh
Tài liệu tham chiếu dưới đây được giữ nguyên bằng tiếng Anh.
These four flags are accepted by every command, before or after the subcommand. They are left out of the per-command tables.
| Flag | Value | Default | Description |
|---|---|---|---|
--json | switch | off | Machine-readable JSON on stdout (the daemon's result object, pretty-printed); errors as JSON on stderr. |
--socket <PATH> | path or pipe name | the platform endpoint | Daemon socket path (Unix) or pipe name (Windows). Env: CAPTUREMANN_SOCKET. |
--no-start | switch | off | Do not start a daemon when none is running; fail with daemon_unavailable instead. |
--request-id <ID> | string | none | Idempotency key for commands that change something. A retry with the same key replays the first result (the daemon keeps it for 24 hours). Commands that run several actions append a suffix to it. |
Kết quả và mã thoát
Tài liệu tham chiếu dưới đây được giữ nguyên bằng tiếng Anh.
By default every command prints human-readable text on stdout and errors on stderr as error[<code>]: <message> with extra lines such as reason: or a hint. With --json, stdout carries the daemon's result object and a failure prints one line of JSON on stderr: {"error":{"code":...,"message":...,"data":...,"exit_code":N}}. Image bytes are never printed: image.data is replaced by image.bytes; use --out FILE (on the commands that have it) to write the PNG. Progress of a waiting command (--wait) goes to stderr, so stdout stays parseable.
$ capturemann --json settings get recording.fps{ "settings": { "recording.fps": 30 }}$ capturemann --json capture get missing_id{"error":{"code":"not_found","message":"no capture `missing_id`","data":null,"exit_code":2}} (stderr)(exit 2)
Times in editing commands are seconds (12.5) or ticks (t:1500000, 120,000 ticks per second); ranges are START-END.
The exit code follows the shared error code of the daemon's answer (error.data.code). The table is from specs/README.md and crates/cm-cli/src/error.rs (a test pins every row).
| Exit | Meaning | Error codes |
|---|---|---|
| 0 | Success (also --help and --version) | |
| 1 | Other failure | internal, not_implemented; any code outside the table (method_not_found, invalid_request); CLI-local errors mcp_unavailable and mcp_failed |
| 2 | Bad input or not found | invalid_input, not_found; also command-line usage errors (clap) |
| 3 | The user declined, or did not answer in 5 minutes | user_declined, confirmation_timeout |
| 4 | An operating-system permission is missing (screen, camera, microphone, accessibility, input monitoring, files) | permission_missing |
| 5 | Platform, network, disk or daemon problem | device_busy, disk_full, network, platform_rejected, auth_expired, daemon_unavailable |
| 6 | A job failed, or a conflicting operation is running | job_failed, busy |
--wait commands exit 6 when the job fails or is cancelled; --timeout SECS with --wait gives up after that many seconds (exit 6, the job keeps running).
Công thức mẫu
Chụp màn hình vào bảng nhớ tạm từ một kịch bản
$ capturemann capture screenshot --region 0,0,1280,800 --copy --out shot.pngTạo bản chép lời cho một bản quay và chờ xong
$ capturemann ai transcribe rec_0412 --language en --wait$ capturemann ai captions get rec_0412
Hướng dẫn từng bước cho kho tài liệu của bạn
$ capturemann guide start --window "Brightdesk" --title "Change the billing plan"# làm lần lượt các bước trên màn hình, rồi$ capturemann guide stop$ capturemann guide export <id> --format markdown --dest docs/billing/
Liệt kê các bản quay dưới dạng JSON cho pipeline
$ capturemann --json library list --kind recording --limit 20Mọi việc CLI làm được, AI agent cũng làm được: 90 công cụ MCP.