ztk

(★ 205)

CLI proxy that reduces LLM token consumption by 78%+. Single Zig binary under 260KB. Zero dependencies.

파일 탐색기

  • .gitignore
  • build.zig
  • LICENSE
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

이 쉘 키워드는 `case` 문을 종료할 때 사용됨.

tldr case

`case` 키워드 문서 보기:

🔍

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

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 컴파일러 및 툴체인.
더 많은 정보: <https://ziglang.org/documentation/master/>.

zig build

현재 디렉토리의 프로젝트 컴파일:

zig build run

현재 디렉토리의 프로젝트 컴파일 및 실행:

zig init

`zig build` 애플리케이션 초기화:

// repository documentation