From 75fe42a68d1ad44e54fc27b9c8c8511513aa780c Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Fri, 30 Aug 2024 17:30:46 +0300 Subject: [PATCH] Create the refile package as tool. --- ReMime.ReFile/Program.cs | 6 ++--- ReMime.ReFile/ReMime.ReFile.csproj | 39 ++++++++++++++++++++++++------ 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/ReMime.ReFile/Program.cs b/ReMime.ReFile/Program.cs index 77fabd3..551caaf 100644 --- a/ReMime.ReFile/Program.cs +++ b/ReMime.ReFile/Program.cs @@ -7,13 +7,13 @@ namespace ReMime.Cli { public static class Program { - private const string USAGE = "remime [-r] file/directory/-...\n" + - "remime --help for more help."; + private const string USAGE = "refile [-r] file/directory/-...\n" + + "refile --help for more help."; private const string HELP = "ReMime Command Line Tool - Determine file Media Type\n" + "\n" + - " remime [-r] file/directory/-...\n" + + " refile [-r] file/directory/-...\n" + "\n" + " file infer a file\n"+ " directory infer files in directory. Requires -r\n"+ diff --git a/ReMime.ReFile/ReMime.ReFile.csproj b/ReMime.ReFile/ReMime.ReFile.csproj index 00de7e5..e71432b 100644 --- a/ReMime.ReFile/ReMime.ReFile.csproj +++ b/ReMime.ReFile/ReMime.ReFile.csproj @@ -1,17 +1,42 @@  - - - - - Exe net6.0 disable enable - true - true refile + + + True + ReFuel.ReMime.ReFile + 0.1.0 + H. Utku Maden + ReFuel + README.md + LICENSE.md + images\icon.png + https://refuel.mixedup.dev/docs/ReMime.html + https://git.mixedup.dev/ReFuel/ReMime + git + detection; detector; type; file; mime; mime-type; media; media-type; analysis; tool; refile + + ReMime is a very humble library that can identify IANA media types of file + from their file extension and its content. While being fully extensible + with your own resolvers, ReMime will also refer to your operating system's + file type database when resolving files. + + This is an example project a tool that will resolve the media types of the + given list of files and directories. + + DotnetTool + true + refile + + + + + +