tgcom เป็นเครื่องมือบรรทัดคำสั่งที่ออกแบบมาเพื่อแสดงความคิดเห็นการทำเครื่องหมายและความคิดเห็นสลับในไฟล์ซอร์สโค้ด รองรับหลายภาษารวมถึง JavaScript, GO และ Bash และสามารถขยายได้เพื่อรองรับมากขึ้น เครื่องมือสามารถจัดการกับเส้นเดี่ยวช่วงของเส้นและการผสมผสานของทั้งสองอย่าง นอกจากนี้ยังรองรับการจัดการสตรีมจาก stdin และประมวลผลหลายไฟล์และช่วงในคำสั่งเดียว
go get github.com/dyne/tgcom- กลับไปด้านบน
tgcom --file < filename > --line < line_number > --action < comment | uncomment | toggle >แสดงความคิดเห็นบรรทัดเดียว
tgcom --file main.go --line 10 --action commentไม่สม่ำเสมอช่วงของเส้น
tgcom --file main.go --lines 10-20 --action uncommentสลับความคิดเห็นเกี่ยวกับหลายไฟล์และบรรทัด
tgcom --files main.go:10-20,script.sh:4,index.html: # <p>,#</p> --action toggleใช้ stdin
cat main.go | tgcom --line 10 --action commentใช้ป้ายกำกับสำหรับส่วนต่างๆ
tgcom --file main.go --start-label START --end-label END --action comment- กลับไปด้านบน
การสนับสนุนภาษา :
การจัดการไฟล์ :
การแสดงความคิดเห็นฟังก์ชั่น :
ผลงาน :
ส่วนต่อประสานผู้ใช้ :
main.js:10-20 script.sh:4 index.html:#<p>,#</p>การทดสอบ :
- กลับไปด้านบน
เอกสาร - การเริ่มต้นและอื่น ๆ
- ระบบนิเวศ - ปลั๊กอินทรัพยากรและอื่น ๆ
ปัญหา - ข้อผิดพลาดสิ้นสุดข้อผิดพลาดที่คุณพบโดยใช้ TGCOM
การอภิปราย - รับความช่วยเหลือถามคำถามคุณลักษณะขอและหารือเกี่ยวกับ TGCOM
[] เมทริกซ์ - ออกไปเที่ยวกับชุมชน
Discord - ออกไปเที่ยวกับชุมชน
- Telegram - ออกไปเที่ยวกับชุมชน
ตัวอย่าง - ที่เก็บตัวอย่างที่ใช้ TGCOM
- กลับไปด้านบน
โปรดดูแพ็คเกจ Docker
- กลับไปด้านบน
เลียนแบบ? 2023 โดยมูลนิธิ dyne.org, อัมสเตอร์ดัม
ออกแบบเขียนและบำรุงรักษาโดย Puria Nafisi Azizi
- กลับไปด้านบน
ก่อนอื่นโปรดดูที่ข้อตกลงสิทธิ์การใช้งาน Dyne.org - ผู้สนับสนุน
git checkout -b feature/branchgit commit -am 'feat: New featurencloses #398'git push origin feature/branchgh pr create -f- กลับไปด้านบน
tgcom - toggle comments in source files
Copyleft ? 2023 Dyne.org foundation, Amsterdam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
- กลับไปด้านบน