tgcom é uma ferramenta de linha de comando projetada para comentar, descomentar e alternar comentários nos arquivos de código-fonte. Ele suporta vários idiomas, incluindo JavaScript, Go e Bash, e pode ser estendido para apoiar mais. A ferramenta pode lidar com linhas únicas, faixas de linhas e uma mistura de ambos. Ele também suporta lidar com fluxos da Stdin e processa vários arquivos e intervalos em um comando.
go get github.com/dyne/tgcom? de volta ao topo
tgcom --file < filename > --line < line_number > --action < comment | uncomment | toggle >Comente uma única linha
tgcom --file main.go --line 10 --action commentDescomment uma variedade de linhas
tgcom --file main.go --lines 10-20 --action uncommentAlternar comentários em vários arquivos e linhas
tgcom --files main.go:10-20,script.sh:4,index.html: # <p>,#</p> --action toggleUsando stdin
cat main.go | tgcom --line 10 --action commentUsando rótulos para seções
tgcom --file main.go --start-label START --end-label END --action comment? de volta ao topo
Suporte ao idioma :
Manuseio de arquivos :
Comentando funcionalidade :
Desempenho :
Interface do usuário :
main.js:10-20 script.sh:4 index.html:#<p>,#</p> .Teste :
? de volta ao topo
Documentação - Introdução e muito mais.
? ECOSYSTEM - Plugins, recursos e muito mais.
PROBLEMAS - ERROS ENCERTAMENTOS DE BUGS que você encontra usando o TGCOM.
Discussões - Obtenha ajuda, faça perguntas, solicite recursos e discuta o TGCOM.
[] Matrix - saindo com a comunidade.
Discord - saindo com a comunidade.
? Telegrama - saindo com a comunidade.
Exemplo - um repositório de exemplo que usa o TGCOM.
? de volta ao topo
Consulte os pacotes do Docker
? de volta ao topo
Copyleft? 2023 pela Fundação Dyne.org, Amsterdã
Projetado, escrito e mantido por Puria Nafisi Azizi.
? de volta ao topo
Por favor, primeiro dê uma olhada no contrato de licença Dyne.org - colaborador e depois
git checkout -b feature/branchgit commit -am 'feat: New featurencloses #398'git push origin feature/branchgh pr create -f? de volta ao topo
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/>.
? de volta ao topo