tgcom
1.0.0
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。
[]矩陣- 與社區閒逛。
不和諧- 與社區閒逛。
?電報- 與社區閒逛。
示例- 使用TGCOM的示例存儲庫。
?回到頂部
請參考Docker軟件包
?回到頂部
copyleft? 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/>.
?回到頂部