FiFi.Lib
0.2.0
See the version list below for details.
dotnet add package FiFi.Lib --version 0.2.0
NuGet\Install-Package FiFi.Lib -Version 0.2.0
<PackageReference Include="FiFi.Lib" Version="0.2.0" />
paket add FiFi.Lib --version 0.2.0
#r "nuget: FiFi.Lib, 0.2.0"
// Install FiFi.Lib as a Cake Addin
#addin nuget:?package=FiFi.Lib&version=0.2.0
// Install FiFi.Lib as a Cake Tool
#tool nuget:?package=FiFi.Lib&version=0.2.0
Introduction
FiFi is a File Fixer library that can be used to make consistent Line Endings, File Encoding and Remove Invalid ASCII characters. It provides an easy to use Fluent API's that can be easily setup and called in couple of lines of code. FiFi is based on .NET standard and can run in Windows, Mac, and Unix.
Usage
//First define the list of files that you want to fix
var fileSources = FileSources.New()
.Add(directory, "*.cs")
.Add("/users/sdha/file.xml")
.Add(new[] {"/users/duck/boo.bar","/opt/exe/foo.sh"});
//Now configure FiFi with the list of fixers to run on the files mentioned above
FiFiRunner.New()
.FixEncoding(Encoding.UTF8)
.FixInvalidCharacters()
.FixLineEndings(LineEndingMode.Windows)
.ForFiles(fileSources);
The above code fragment will take the list of files and run the fixers on those files. The fixers configured in the above file are Encoding, InvalidChars and LineEndings. You can ignore a fixer by not calling it (ignoring it)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.