ztk
CLI proxy that reduces LLM token consumption by 78%+. Single Zig binary under 260KB. Zero dependencies.
파일 탐색기
- release-binaries.yml
- stats-screenshot.svg
- ztk.rb
- package-release.sh
- .gitkeep
- comptime.zig
- docker.zig
- files_cat.zig
- files_cat_aggressive.zig
- files_cat_lang.zig
- files_find.zig
- files_grep.zig
- files_headtail.zig
- files_ls.zig
- files_ls_ext.zig
- files_ls_format.zig
- files_ls_parse.zig
- files_ls_test.zig
- files_python.zig
- files_wc.zig
- filter_build.zig
- filter_build_cargo.zig
- filter_build_tsc.zig
- filter_curl.zig
- filter_diag_block.zig
- filter_env.zig
- filter_gh.zig
- filter_go_build.zig
- filter_golangci.zig
- filter_json.zig
- filter_log.zig
- filter_mypy.zig
- filter_tree.zig
- filter_zig.zig
- git_diff.zig
- git_diff_condense.zig
- git_diff_test.zig
- git_log.zig
- git_log_body.zig
- git_log_test.zig
- git_simple.zig
- git_status.zig
- git_status_test.zig
- git_status_types.zig
- git_status_v1.zig
- kubectl.zig
- lint.zig
- lint_test.zig
- runtime.zig
- runtime_apply.zig
- runtime_defs.zig
- runtime_test.zig
- test_cargo.zig
- test_go.zig
- test_nextest.zig
- test_node.zig
- test_pytest.zig
- .gitkeep
- claude.zig
- claude_init.zig
- claude_init_build.zig
- claude_rewrite.zig
- claude_test.zig
- cursor.zig
- cursor_init.zig
- cursor_rewrite.zig
- cursor_test.zig
- gemini.zig
- gemini_init.zig
- gemini_init_build.zig
- gemini_rewrite.zig
- gemini_test.zig
- permissions.zig
- permissions_load.zig
- permissions_match.zig
- permissions_shell.zig
- permissions_test.zig
- .gitkeep
- ansi.zig
- lines.zig
- .gitkeep
- diff.zig
- cli.zig
- compat.zig
- executor.zig
- executor_test.zig
- filter_cmd.zig
- main.zig
- output.zig
- proxy.zig
- proxy_session.zig
- proxy_test.zig
- regex_atom.zig
- regex_closure.zig
- regex_compile.zig
- regex_compile_test.zig
- regex_compile_test2.zig
- regex_match.zig
- regex_match_test.zig
- regex_parser.zig
- regex_quant.zig
- regex_replace.zig
- regex_simulate.zig
- regex_types.zig
- session.zig
- session_delta.zig
- session_lock.zig
- session_map.zig
- session_ops.zig
- session_test.zig
- stats.zig
- stats_parse.zig
- stats_render.zig
- update.zig
- version.zig
- .gitkeep
- cargo_test_failures.txt
- git_status_porcelain.txt
- .gitignore
- build.zig
- LICENSE
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
brew install
설명 보기 ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
brew upgrade
설명 보기 ▼
brew upgrade
Upgrade outdated formulae and casks.
brew upgrade
Upgrade all outdated casks and formulae:
brew upgrade {{formula|cask}}
Upgrade a specific formula/cask:
brew upgrade {{[-n|--dry-run]}}
Print what would be upgraded, but don't actually upgrade anything:
cargo test
설명 보기 ▼
cargo test
Execute the unit and integration tests of a Rust package.
cargo {{[t|test]}} {{test_name}}
Only run tests containing a specific string in their names:
cargo {{[t|test]}} -- --test-threads {{count}}
Set the number of simultaneous running test cases:
cargo {{[t|test]}} {{[-r|--release]}}
Test artifacts in release mode, with optimizations:
esac
설명 보기 ▼
esac
이 쉘 키워드는 `case` 문을 종료할 때 사용됨.
tldr case
`case` 키워드 문서 보기:
git add
설명 보기 ▼
git add
Stage changed files for a commit.
git add {{path/to/file}}
Stage a file for a commit:
git add {{[-A|--all]}}
Add all files (tracked and untracked):
git add .
Add all files recursively starting from the current folder:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git diff
설명 보기 ▼
git diff
Show changes to tracked files.
git diff
Show unstaged changes:
git diff HEAD
Show all uncommitted changes (including staged ones):
git diff --staged
Show only staged (added, but not yet committed) changes:
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:
zig
설명 보기 ▼
zig
Zig 컴파일러 및 툴체인.
더 많은 정보: <https://ziglang.org/documentation/master/>.
zig build
현재 디렉토리의 프로젝트 컴파일:
zig build run
현재 디렉토리의 프로젝트 컴파일 및 실행:
zig init
`zig build` 애플리케이션 초기화:
