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/>.
?回到顶部