कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

bat-cat

arnarsson द्वारा

Git & GitHub
2.5kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

A cat clone with syntax highlighting, line numbers, and Git integration.

विवरण

यह स्किल क्या करती है

bat is a command-line file viewer that replaces cat with syntax highlighting, line numbers, and Git change markers. It auto-detects file types, supports themes, and can display specific line ranges. Works as a drop-in cat replacement or as a terminal pager.

Unlike cat, bat adds syntax highlighting, Git change indicators, and line numbers by default, making files readable in the terminal without opening an editor.

इसे कब इस्तेमाल करें

  • Inspecting a config file before editing it
  • Reading log files with colored syntax output
  • Previewing files inside fzf with syntax highlighting
  • Checking Git modifications while viewing a file

उदाहरण वर्कफ़्लो

इनपुट

User asks: show me lines 45-67 of script.py with Git changes visible

एजेंट
  1. 1

    Run bat with -r 45:67 to select the line range

  2. 2

    Add --diff flag to show Git modification markers

  3. 3

    bat auto-detects Python syntax from the file extension

  4. 4

    Terminal renders the output with highlighting and change markers

आउटपुट

Lines 45-67 of script.py displayed with Python syntax highlighting and Git change indicators marking added and modified lines

इंस्टॉलेशन

clawhub install arnarsson/bat-cat

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक