1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00
tldr/pages.ko/common/scc.md
코드싸이 4b5248236b
common/s*: add and update Korean translation (#14666)
* common/s*: add and update Korean translation

* scamper: fix typo

* Update pages.ko/common/simplehttpserver.md

Co-authored-by: Chooooo <contact@choo.ooo>

* Update pages.ko/common/steamcmd.md

Co-authored-by: Chooooo <contact@choo.ooo>

---------

Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com>
Co-authored-by: Chooooo <contact@choo.ooo>
2024-11-09 10:41:41 +09:00

822 B

scc

코드 라인 수를 계산합니다. Go로 작성되었습니다. 더 많은 정보: https://github.com/boyter/scc.

  • 현재 디렉토리의 코드 라인 수 출력:

scc

  • 대상 디렉토리의 코드 라인 수 출력:

scc {{경로/대상/폴더}}

  • 각 파일에 대한 출력 표시:

scc --by-file

  • 특정 출력 형식을 사용하여 출력 표시 (기본값은 tabular):

scc --format {{tabular|wide|json|csv|cloc-yaml|html|html-table}}

  • 특정 파일 확장자를 가진 파일만 계산:

scc --include-ext {{go,java,js}}

  • 카운트에서 제외할 디렉토리 지정:

scc --exclude-dir {{.git,.hg}}

  • 출력 및 정렬 기준 열로 정렬 (기본값은 파일 기준):

scc --sort {{files|name|lines|blanks|code|comments|complexity}}

  • 도움말 표시:

scc -h