tgcom
1.0.0
tgcom 、ソースコードファイルのコメント、コメント、およびトグルをコメントし、コメントし、切り替えるように設計されたコマンドラインツールです。 JavaScript、Go、Bashなどの複数の言語をサポートし、さらにサポートするために拡張できます。このツールは、単一の線、範囲の線、および両方の混合を処理できます。また、Stdinからのストリームの処理をサポートし、1つのコマンドで複数のファイルと範囲を処理します。
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について話し合います。
[]マトリックス- コミュニティとの付き合い。
不一致- コミュニティとの付き合い。
? Telegram-コミュニティとの付き合い。
例-TGCOMを使用する例リポジトリ。
?トップに戻ります
Dockerパッケージを参照してください
?トップに戻ります
copyleft? 2023年、アムステルダムのdyne.org財団
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/>.
?トップに戻ります