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 toggleStdin 사용
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에 대해 토론하십시오.
[] Matrix- 커뮤니티와 어울리는.
불화 - 커뮤니티와 어울리는.
? 전보 - 커뮤니티와 어울리는.
예 - TGCOM을 사용하는 예제 저장소.
? 위로 돌아갑니다
Docker 패키지를 참조하십시오
? 위로 돌아갑니다
copyleft? 2023 년 암스테르담 Dyne.org Foundation
Puria Nafisi Azizi가 설계, 작성 및 유지 관리합니다.
? 위로 돌아갑니다
먼저 dyne.org- 기고자 라이센스 계약을 살펴보십시오.
git checkout -b feature/branch 만듭니다git commit -am 'feat: New featurencloses #398'git push origin feature/branch 로 밀어 넣으십시오gh 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/>.
? 위로 돌아갑니다