tgcom es una herramienta de línea de comandos diseñada para comentar, desenchufar y alternar comentarios en los archivos de código fuente. Admite múltiples idiomas, incluidos JavaScript, GO y Bash, y se puede extender para admitir más. La herramienta puede manejar líneas simples, rangos de líneas y una mezcla de ambas. También admite el manejo de transmisiones desde Stdin y procesa múltiples archivos y rangos en un comando.
go get github.com/dyne/tgcom? Volver arriba
tgcom --file < filename > --line < line_number > --action < comment | uncomment | toggle >Comenta una sola línea
tgcom --file main.go --line 10 --action commentDescomposición una variedad de líneas
tgcom --file main.go --lines 10-20 --action uncommentAlternar comentarios en varios archivos y líneas
tgcom --files main.go:10-20,script.sh:4,index.html: # <p>,#</p> --action toggleUsando stdin
cat main.go | tgcom --line 10 --action commentUso de etiquetas para secciones
tgcom --file main.go --start-label START --end-label END --action comment? Volver arriba
Soporte del idioma :
Manejo de archivos :
Funcionalidad de comentar :
Actuación :
Interfaz de usuario :
main.js:10-20 script.sh:4 index.html:#<p>,#</p> .Prueba :
? Volver arriba
Documentación : comenzar y más.
? Ecosistema : complementos, recursos y más.
Problemas : los errores de finalización de errores que encuentre usando TGCOM.
Discusiones : obtenga ayuda, haga preguntas, solicite funciones y discuta TGCOM.
[] Matrix : salir con la comunidad.
Discord : salir con la comunidad.
? Telegram : salir con la comunidad.
Ejemplo : un repositorio de ejemplo que usa TGCOM.
? Volver arriba
Consulte los paquetes de Docker
? Volver arriba
¿Copyleft? 2023 de Dyne.org Foundation, Amsterdam
Diseñado, escrito y mantenido por Puria Nafisi Azizi.
? Volver arriba
Primero eche un vistazo al acuerdo de licencia de contribuyente Dyne.org.
git checkout -b feature/branchgit commit -am 'feat: New featurencloses #398'git push origin feature/branchgh pr create -f? Volver arriba
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/>.
? Volver arriba