cccc
A tool/library for measurement of "C"ognitive "C"omplexity and "C"yclomatic "C"omplexity
파일 탐색기
- ci.yml
- complexity.yml
- cross-build.yml
- release.yml
- dependabot.yml
- eslintrc.json
- README.md
- run.py
- setup.sh
- lib.rs
- Cargo.toml
- cache.rs
- cli.rs
- config.rs
- lang.rs
- lib.rs
- main.rs
- output.rs
- walk.rs
- sample.c
- sample.clj
- sample.dart
- sample.el
- sample.go
- sample.java
- sample.kt
- sample.lisp
- sample.php
- sample.pl
- sample.py
- sample.rb
- sample.rs
- sample.scm
- sample.swift
- sample.ts
- sample.zig
- cli.rs
- lang_smoke.rs
- Cargo.toml
- LICENSE
- lib.rs
- Cargo.toml
- engine.rs
- ir.rs
- lib.rs
- report.rs
- Cargo.toml
- LICENSE
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- LICENSE
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- commonlisp.rs
- emacslisp.rs
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- ADDING_A_LANGUAGE.md
- .gitignore
- .octocov.complexity.yml
- .octocov.yml
- BENCHMARK.md
- Cargo.lock
- Cargo.toml
- cccc.toml
- LICENSE
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
line
설명 보기 ▼
line
라인을 관리합니다.
설정 모드에서 사용함.
더 많은 정보: <https://www.cisco.com/c/en/us/td/docs/routers/sdwan/command/iosxe/qualified-cli-command-reference-guide/m-line-commands.pdf>.
line vty 0 15
0번부터 15번까지의 VTY 라인 설정:
line
Read input:
cargo build
설명 보기 ▼
cargo build
Compile a local package and all of its dependencies.
cargo {{[b|build]}}
Build the package or packages defined by the `Cargo.toml` manifest file in the local path:
cargo {{[b|build]}} {{[-r|--release]}}
Build artifacts in release mode, with optimizations:
cargo {{[b|build]}} --locked
Require that `Cargo.lock` is up to date:
elif
설명 보기 ▼
elif
이 쉘 키워드는 `if`와 `else`와 함께 사용되어 코드 분기를 정의.
tldr if
`if` 명령어 문서 보기:
eval
설명 보기 ▼
eval
현재 쉘에서 인수를 단일 명령으로 실행하고 그 결과를 반환.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-eval>.
eval "{{echo foo}}"
"foo" 인수를 사용하여 `echo`를 호출:
eval "{{foo=bar}}"
현재 쉘에서 변수를 설정:
func
설명 보기 ▼
func
Azure Functions 핵심 도구: Azure Functions를 로컬에서 개발하고 테스트.
로컬 함수는 라이브 Azure 서비스에 연결할 수 있고, Azure 구독에 함수 앱을 배포할 수 있음.
더 많은 정보: <https://learn.microsoft.com/azure/azure-functions/functions-run-local>.
func init {{project}}
새로운 함수 프로젝트를 생성:
func new
새로운 함수 생성:
func start
로컬에서 함수 실행:
git ls-files
설명 보기 ▼
git ls-files
Show information about files in the index and the working tree.
git ls-files {{[-d|--deleted]}}
Show deleted files:
git ls-files {{[-m|--modified]}}
Show modified and deleted files:
git ls-files {{[-o|--others]}}
Show ignored and untracked files:
git status
설명 보기 ▼
git status
Show the changes to files in a Git repository.
List changed, added, and deleted files compared to the currently checked-out commit.
git status
Show untracked and changed files which are not yet added for commit:
git status {{[-s|--short]}}
Give output in short format:
git status {{[-sb|--short --branch]}}
Show output in short format along with branch info:
next
설명 보기 ▼
next
서버사이드 렌더링을 사용하여 최적화된 웹 애플리케이션을 구축하는 React 프레임워크.
더 많은 정보: <https://nextjs.org/docs/app/api-reference/cli/next>.
next dev
현재 애플리케이션을 개발 모드로 시작:
next dev {{[-p|--port]}} {{port}}
현재 애플리케이션을 특정 포트에서 시작:
next build
프로덕션에 맞게 최적화된 애플리케이션 빌드:
php
설명 보기 ▼
php
PHP 명령줄 인터페이스.
더 많은 정보: <https://www.php.net/manual/en/features.commandline.options.php>.
php {{path/to/file}}
PHP 스크립트를 구문 분석하고 실행:
php {{[-l|--syntax-check]}} {{path/to/file}}
PHP 스크립트의 문법 검사(즉, 린트):
php {{[-a|--interactive]}}
PHP를 대화형으로 실행:
scc
설명 보기 ▼
scc
코드 라인 수를 계산합니다. Go로 작성되었습니다.
더 많은 정보: <https://github.com/boyter/scc#usage>.
scc
현재 디렉토리의 코드 라인 수 출력:
scc {{path/to/directory}}
대상 디렉토리의 코드 라인 수 출력:
scc --by-file
각 파일에 대한 출력 표시:
select
설명 보기 ▼
select
메뉴를 생성하기 위한 Bash 내장 구조.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-select>.
select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done
개별 단어로 메뉴 생성:
select {{line}} in $({{command}}); do echo ${{line}}; done
다른 명령의 출력으로 메뉴 생성:
PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done
`select`의 프롬프트 문자열을 지정하고 현재 디렉토리에서 파일이나 폴더를 선택하는 메뉴 생성:
sum
설명 보기 ▼
sum
파일의 체크섬과 블록 수를 계산.
더 현대적인 `cksum`의 전신.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/sum-invocation.html>.
sum {{path/to/file}}
BSD 호환 알고리즘과 1024바이트 블록으로 체크섬 계산:
sum {{[-s|--sysv]}} {{path/to/file}}
System V 호환 알고리즘과 512바이트 블록으로 체크섬 계산:
until
설명 보기 ▼
until
Simple shell loop that repeats until it receives zero as return value.
until {{command}}; do :; done
Execute a command until it succeeds:
until ssh {{username}}@{{host}}; do sleep {{2}}; done
Try to connect to an SSH host until gracefully disconnected:
until systemctl is-active {{[-q|--quiet]}} {{nginx}}; do {{echo "Waiting..."}}; sleep 1; done; {{echo "Launched!"}}
Wait for a systemd service to be active:
where
설명 보기 ▼
where
명령의 모든 알려진 인스턴스를 보고.
이는 `$PATH` 환경 변수에 있는 실행 파일, 별칭 또는 셸 내장 명령일 수 있습니다.
더 많은 정보: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
where {{command}}
명령의 모든 인스턴스 찾기:
tldr where-object
파일 패턴의 위치 표시:
where {{file_pattern}}
파일 크기와 날짜를 포함하여 파일 패턴의 위치 표시:
last
설명 보기 ▼
last
View the last logged in users.
last
View last login information (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`:
last {{username}}
List login information of a specific user:
last {{[-n|--limit]}} {{login_count}}
Specify how many of the last logins to show:
