mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef/Commands/Verify.cs: * DiscImageChef/Commands/Formats.cs: * DiscImageChef/Commands/Analyze.cs: * DiscImageChef/Commands/Compare.cs: * DiscImageChef/Commands/Commands.cs: * DiscImageChef/Commands/Checksum.cs: * DiscImageChef/DiscImageChef.csproj: Move all commands to separate classes. * DiscImageChef/AssemblyInfo.cs: Let mono create random revision and build. * DiscImageChef/Options.cs: Make options public
31 lines
1021 B
C#
31 lines
1021 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using DiscImageChef.ImagePlugins;
|
|
using DiscImageChef.PartPlugins;
|
|
using DiscImageChef.Plugins;
|
|
|
|
namespace DiscImageChef.Commands
|
|
{
|
|
public static class Formats
|
|
{
|
|
public static void ListFormats()
|
|
{
|
|
PluginBase plugins = new PluginBase();
|
|
plugins.RegisterAllPlugins();
|
|
|
|
Console.WriteLine("Supported images:");
|
|
foreach (KeyValuePair<string, ImagePlugin> kvp in plugins.ImagePluginsList)
|
|
Console.WriteLine(kvp.Value.Name);
|
|
Console.WriteLine();
|
|
Console.WriteLine("Supported filesystems:");
|
|
foreach (KeyValuePair<string, Plugin> kvp in plugins.PluginsList)
|
|
Console.WriteLine(kvp.Value.Name);
|
|
Console.WriteLine();
|
|
Console.WriteLine("Supported partitions:");
|
|
foreach (KeyValuePair<string, PartPlugin> kvp in plugins.PartPluginsList)
|
|
Console.WriteLine(kvp.Value.Name);
|
|
}
|
|
}
|
|
}
|
|
|