#ci #ci-cd #command-line-tool #tool #search-path #cli

app noabspath

Detect hard-coded absolute paths in codesbases

11 releases (3 stable)

1.0.2 Apr 19, 2024
1.0.1 Apr 27, 2022
0.1.8 Apr 21, 2022
0.1.6 Jul 29, 2020

#456 in Command line utilities

Download history 27/week @ 2024-09-21

555 downloads per month

GPL-3.0-or-later

305KB
231 lines

Say no to absolute paths in your codebases!

noabspath search and highlight all absolute paths detected.

Usage

William Droz 
Detect hard-coded absolute paths in codesbases

USAGE:
    noabspath [OPTIONS]

OPTIONS:
    -h, --help                         Print help information
    -i, --ignore-file     File that contains patterns to ignore [default: .gitignore]
    -p, --path                   Path of codebase to check [default: .]
    -V, --version                      Print version information

Use case

The most common use case is to use noabspath in your CI pipeline.

Install

Cargo

cargo install noabspath

Snap

sudo snap install noabspath

or

sudo snap install noabspath --edge

Dependencies

~6–17MB
~187K SLoC