Skip to content

dsaouda/go-mimetype-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.