Komut Satırı Aracı
kopyo komutunu yükleyin; komutları, seçenekleri ve çıkış kodları.
Bu sayfada
kopyo komutu uygulamanın içinde gelir. Ayarlar → Otomasyon → “kopyo” Komutunu Yükle… ile yükleyin.
Komutlar
usage: kopyo <command> [options]
History
list * the most recent clips (--board, --since to narrow)
search <query> * search history (same query language as the panel)
get <clip> * print a clip's content
boards * list pinboards
copy [clip] put standard input, or a clip, on the clipboard
paste <clip> * paste a clip into the frontmost app
push [text] * add text (or standard input) to history as a new clip
pop * print the newest clip and remove it from history
delete <clip>... * delete clips now
clear --yes * erase history, keeping pinned, named, pinboard and locked clips
Text
transform <id>... apply transforms to standard input, write standard output
transforms list transform ids
App
queue add|next|clear * manage the paste queue
pause [minutes] * pause capture (until resumed, or for some minutes)
resume * resume capture
help [command] show help for a command
--version print the version
<clip> is a position from 'kopyo list' (1 is the most recent) or a clip UUID.
(* = talks to the running app; App Lock applies)
Seçenekler
| Seçenek | Kullanıldığı komutlar | Ne yapar |
|---|---|---|
--json | list, search, get, boards, transforms | JSON çıktısı verir |
--since 2h | list, search | Yalnızca belirli bir zamandan bu yana kopyalanan klipler (2h, 3d ya da bir ISO tarihi) |
--board NAME | list, search | Yalnızca bir koleksiyondaki klipler |
-n 20 | list, search | Sonuç sayısı (varsayılan olarak list için 10, search için 20) |
--shape, -s | paste | Bir biçimde yapıştırır: original, plainText, markdown, html, codeBlock, quote, titledLink ya da file |
--transform, -t | paste | Yapıştırmadan önce bir dönüştürme uygular; zincir için tekrarlayın |
--lines | queue add | Standart girdinin boş olmayan her satırını kuyruğa ekler |
--yes | clear | Geçmişin silinmesini onaylar |
Çıkış kodları
| Kod | Anlamı |
|---|---|
| 0 | Başarılı |
| 1 | Hatalı kullanım ya da geçersiz girdi |
| 2 | Kopyo çalışmıyor |
| 3 | Bulunamadı |
| 4 | İzin verilmedi: hassas bir klip, Kopyo kilitli ya da Kopyo'nun sahip olmadığı bir macOS izni |
| 5 | Komut başarısız oldu |
Hassas klipler hiçbir zaman yazdırılmaz. kopyo transform, Kopyo çalışmıyorken bile çalışır.
Örnekler
pbpaste | kopyo transform case.upper text.trim
kopyo search "type:link from:github.com" --json
kopyo list --since 2h
echo "deploy notes" | kopyo push
kopyo paste 3 --shape markdown
Hâlâ yardıma mı ihtiyacınız var? support@kopyo.app adresine yazın.