mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Rename commands and add aliases.
This commit is contained in:
@@ -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[]
|
||||
{
|
||||
@@ -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[]
|
||||
{
|
||||
@@ -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[]
|
||||
{
|
||||
Reference in New Issue
Block a user