Rename commands and add aliases.

This commit is contained in:
2020-01-03 18:24:44 +00:00
parent 56e24f1ed9
commit 03573f1cb6
17 changed files with 43 additions and 38 deletions

View File

@@ -49,12 +49,12 @@ using DiscImageChef.Core.Logging;
using DiscImageChef.Devices;
using Schemas;
namespace DiscImageChef.Commands
namespace DiscImageChef.Commands.Media
{
// TODO: Add raw dumping
internal class DumpMediaCommand : Command
{
public DumpMediaCommand() : base("dump-media", "Dumps the media inserted on a device to a media image.")
public DumpMediaCommand() : base("dump", "Dumps the media inserted on a device to a media image.")
{
Add(new Option(new[]
{

View File

@@ -59,11 +59,11 @@ using DMI = DiscImageChef.Decoders.Xbox.DMI;
using Session = DiscImageChef.Decoders.CD.Session;
using Spare = DiscImageChef.Decoders.DVD.Spare;
namespace DiscImageChef.Commands
namespace DiscImageChef.Commands.Media
{
internal class MediaInfoCommand : Command
{
public MediaInfoCommand() : base("media-info", "Gets information about the media inserted on a device.")
public MediaInfoCommand() : base("info", "Gets information about the media inserted on a device.")
{
Add(new Option(new[]
{

View File

@@ -38,11 +38,11 @@ using DiscImageChef.Core;
using DiscImageChef.Core.Devices.Scanning;
using DiscImageChef.Devices;
namespace DiscImageChef.Commands
namespace DiscImageChef.Commands.Media
{
internal class MediaScanCommand : Command
{
public MediaScanCommand() : base("media-scan", "Scans the media inserted on a device.")
public MediaScanCommand() : base("scan", "Scans the media inserted on a device.")
{
Add(new Option(new[]
{