Skip to content

jayvdb/tree-magic-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-magic-cli

Since tree-magic-mini removes the integrated cli, this is that same CLI in a standalone crate.

Installation

cargo install tree-magic-cli

Usage

tmagic 1.0.0
Determines the MIME type of a file by traversing a filetype tree.

USAGE:
    tmagic [FLAGS] [OPTIONS] <file>...

FLAGS:
    -h, --help         Prints help information
    -r, --recursive    Search directories recursively
        --ugly         Print results as they come in, at expense of tab alignment
    -V, --version      Prints version information

OPTIONS:
    -m, --match=<match>    Print only files that match given MIMEs, seperated by commas

ARGS:
    <file>...    List of files or folders to check. Wildcards supported.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%