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:
@@ -38,7 +38,6 @@ namespace DiscImageChef.Commands.Device
|
||||
{
|
||||
public DeviceFamily() : base("device", "Commands that talks to devices")
|
||||
{
|
||||
AddAlias("d");
|
||||
AddAlias("dev");
|
||||
|
||||
AddCommand(new DeviceInfoCommand());
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace DiscImageChef.Commands.Device
|
||||
{
|
||||
internal class DeviceReportCommand : Command
|
||||
{
|
||||
public DeviceReportCommand() : base("device-report",
|
||||
public DeviceReportCommand() : base("report",
|
||||
"Tests the device capabilities and creates an JSON report of them.")
|
||||
{
|
||||
AddArgument(new Argument<string>
|
||||
|
||||
@@ -38,11 +38,11 @@ using DiscImageChef.Console;
|
||||
using DiscImageChef.Core;
|
||||
using DiscImageChef.Devices;
|
||||
|
||||
namespace DiscImageChef.Commands
|
||||
namespace DiscImageChef.Commands.Device
|
||||
{
|
||||
internal class ListDevicesCommand : Command
|
||||
{
|
||||
public ListDevicesCommand() : base("list-devices", "Lists all connected devices.")
|
||||
public ListDevicesCommand() : base("list", "Lists all connected devices.")
|
||||
{
|
||||
AddArgument(new Argument<string>
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace DiscImageChef.Commands.Device
|
||||
{
|
||||
internal class DeviceInfoCommand : Command
|
||||
{
|
||||
public DeviceInfoCommand() : base("device-info", "Gets information about a device.")
|
||||
public DeviceInfoCommand() : base("info", "Gets information about a device.")
|
||||
{
|
||||
Add(new Option(new[]
|
||||
{
|
||||
Reference in New Issue
Block a user