xq
Pure rust implementation of jq
파일 탐색기
최종 버전 다운로드 (.zip)- cd.yml
- ci.yml
- prelude.rs
- ast.rs
- jq.lalrpop
- lexer.rs
- lib.rs
- .gitignore
- build.rs
- Cargo.toml
- xq.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- README.md
- rust-toolchain.toml
- formats.rs
- input.rs
- mod.rs
- main.rs
- compiler.rs
- mod.rs
- mod.rs
- stack.rs
- mod.rs
- binary.rs
- comparator.rs
- index.rs
- math.rs
- mod.rs
- path.rs
- regex.rs
- string.rs
- time.rs
- unary.rs
- bytecode.rs
- error.rs
- machine.rs
- mod.rs
- lib.rs
- module_loader.rs
- number.rs
- util.rs
- value.rs
- color_output.stdout
- color_output.toml
- fail_compact_yaml_output.toml
- fail_raw_input_json.toml
- fail_raw_yaml_output.toml
- no_color_and_color.stdout
- no_color_and_color.toml
- null_input.toml
- null_slurp.toml
- raw_compact_output.toml
- raw_input.toml
- raw_input_slurp.toml
- raw_output.toml
- yaml_input.toml
- yaml_output.toml
- mod.rs
- mod.rs
- advanced_features.rs
- arithmetic.rs
- assignment.rs
- basic_filters.rs
- condition_and_comparison.rs
- functions.rs
- mod.rs
- regex.rs
- string_format.rs
- time.rs
- types_and_values.rs
- assignments.rs
- math.rs
- mod.rs
- regex.rs
- cli_tests.rs
- lib.rs
- .envrc
- .gitignore
- about.hbs
- about.toml
- build.rs
- Cargo.lock
- Cargo.toml
- flake.lock
- flake.nix
- LICENSE
- prelude.jq
- README.md
- release.toml
- rustfmt.toml
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/MiSawa/xq
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd xq
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Rust
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
$ cargo install xq
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cargo install --path path-to-cloned-dir
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cat whatever.json | cargo run -- 'query goes here'
빌드 후 바로 실행까지 진행합니다.
$ cargo uninstall xq
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cargo release patch # to dry-run the release
이 명령어를 터미널에 그대로 입력해 실행하세요.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
