repo-root

Crates.iorepo-root
lib.rsrepo-root
version0.1.0
sourcesrc
created_at2024-10-04 03:24:08.644082
updated_at2024-10-04 03:24:08.644082
descriptionTODO
homepagehttps://github.com/adam-gaia/repo-root
repositoryhttps://github.com/adam-gaia/repo-root
max_upload_size
id1396039
size97,277
Adam Gaia (adam-gaia)

documentation

README

repo-root

Find the root directory of a project.

CLI

    cargo install repo-root

Library

  cargo add repo-root

Supported project types

  • git:.git dir
  • Docker: Dockerfile file
  • NodeJS: package.json file
  • Rust: Cargo.toml file
  • Python: pyproject.toml file
  • Nix: flake.nix file

Custom

See examples/custom_project_type.rs

Commit count: 166

cargo fmt