Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 504 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 504 Bytes

Go Report Card

go-mimetype-cli

Cli to project github.com/gabriel-vasile/mimetype

Usage

>> go-mimetype-cli.exe -file README.md`
>> {"mime":"text/plain; charset=utf-8","extension":".txt"}

Motivation

Simple way to check a file's type by looking at bytes. On linux you will prefer to use the file command. On windows this cli can be an option.