Răsfoiți Sursa

Merge pull request #119 from Timmoth/Drive-add-command-description-fix

Command Descriptions fixed
Tim Jones 1 lună în urmă
părinte
comite
16dff158fd

BIN
.DS_Store


+ 6 - 3
RackPeek/Program.cs

@@ -11,13 +11,16 @@ public static class Program
     public static async Task<int> Main(string[] args)
     {
         // Configuration
-        var configuration = new ConfigurationBuilder().SetBasePath(AppContext.BaseDirectory)
+        var appBasePath = AppContext.BaseDirectory;
+
+        var configuration = new ConfigurationBuilder()
+            .SetBasePath(appBasePath)
             .AddJsonFile("appsettings.json", optional: true)
             .Build();
 
-        var yamlDir = configuration.GetValue<string>("RPK_YAML_DIR") ?? "./config";
+        var yamlDir = configuration.GetValue<string>("RPK_YAML_DIR") ?? "config";
 
-// DI
+        // DI
         var services = new ServiceCollection();
         await CliBootstrap.RegisterInternals(services, configuration, yamlDir, "config.yaml");
 

+ 38 - 23
Shared.Rcl/CliBootstrap.cs

@@ -50,19 +50,34 @@ public static class CliBootstrap
         _lastArgs = args;
         _app = app;
     }
-    public static async Task RegisterInternals(IServiceCollection services, IConfiguration configuration,
-        string yamlDir, string yamlFile)
+    public static async Task RegisterInternals(
+        IServiceCollection services,
+        IConfiguration configuration,
+        string yamlDir,
+        string yamlFile)
     {
         services.AddSingleton(configuration);
+        var appBasePath = AppContext.BaseDirectory;
 
-        var basePath = configuration["HardwarePath"] ?? AppContext.BaseDirectory;
+        var resolvedYamlDir = Path.IsPathRooted(yamlDir)
+            ? yamlDir
+            : Path.Combine(appBasePath, yamlDir);
+        
 
-        // Resolve yamlDir as relative to basePath
-        var yamlPath = Path.IsPathRooted(yamlDir) ? yamlDir : Path.Combine(basePath, yamlDir);
+        Directory.CreateDirectory(resolvedYamlDir);
 
-        if (!Directory.Exists(yamlPath)) throw new DirectoryNotFoundException($"YAML directory not found: {yamlPath}");
+        var fullYamlPath = Path.Combine(resolvedYamlDir, yamlFile);
+
+        if (!File.Exists(fullYamlPath))
+        {
+            await File.WriteAllTextAsync(fullYamlPath, "");
+        }
+        
+        var collection = new YamlResourceCollection(
+            fullYamlPath,
+            new PhysicalTextFileStore(),
+            new ResourceCollection());
 
-        var collection = new YamlResourceCollection(Path.Combine(yamlPath, yamlFile), new PhysicalTextFileStore(), new ResourceCollection());
         await collection.LoadAsync();
         services.AddSingleton<IResourceCollection>(collection);
 
@@ -409,24 +424,24 @@ public static class CliBootstrap
             // ----------------------------
             // Laptops
             // ----------------------------
-            config.AddBranch("Laptops", Laptops =>
+            config.AddBranch("laptops", laptops =>
             {
-                Laptops.SetDescription("Manage Laptop computers and their components.");
+                laptops.SetDescription("Manage Laptop computers and their components.");
 
                 // CRUD
-                Laptops.AddCommand<LaptopAddCommand>("add").WithDescription("Add a new Laptop.");
-                Laptops.AddCommand<LaptopGetCommand>("list").WithDescription("List all Laptops.");
-                Laptops.AddCommand<LaptopGetByNameCommand>("get").WithDescription("Retrieve a Laptop by name.");
-                Laptops.AddCommand<LaptopDescribeCommand>("describe")
+                laptops.AddCommand<LaptopAddCommand>("add").WithDescription("Add a new Laptop.");
+                laptops.AddCommand<LaptopGetCommand>("list").WithDescription("List all Laptops.");
+                laptops.AddCommand<LaptopGetByNameCommand>("get").WithDescription("Retrieve a Laptop by name.");
+                laptops.AddCommand<LaptopDescribeCommand>("describe")
                     .WithDescription("Show detailed information about a Laptop.");
-                Laptops.AddCommand<LaptopDeleteCommand>("del").WithDescription("Delete a Laptop from the inventory.");
-                Laptops.AddCommand<LaptopReportCommand>("summary")
+                laptops.AddCommand<LaptopDeleteCommand>("del").WithDescription("Delete a Laptop from the inventory.");
+                laptops.AddCommand<LaptopReportCommand>("summary")
                     .WithDescription("Show a summarized hardware report for all Laptops.");
-                Laptops.AddCommand<LaptopTreeCommand>("tree")
+                laptops.AddCommand<LaptopTreeCommand>("tree")
                     .WithDescription("Display the dependency tree for a Laptop.");
 
                 // CPU
-                Laptops.AddBranch("cpu", cpu =>
+                laptops.AddBranch("cpu", cpu =>
                 {
                     cpu.SetDescription("Manage CPUs attached to Laptops.");
                     cpu.AddCommand<LaptopCpuAddCommand>("add").WithDescription("Add a CPU to a Laptop.");
@@ -435,16 +450,16 @@ public static class CliBootstrap
                 });
 
                 // Drives
-                Laptops.AddBranch("drive", drive =>
+                laptops.AddBranch("drives", drives =>
                 {
-                    drive.SetDescription("Manage storage drives attached to Laptops.");
-                    drive.AddCommand<LaptopDriveAddCommand>("add").WithDescription("Add a drive to a Laptop.");
-                    drive.AddCommand<LaptopDriveSetCommand>("set").WithDescription("Update a Laptop drive.");
-                    drive.AddCommand<LaptopDriveRemoveCommand>("del").WithDescription("Remove a drive from a Laptop.");
+                    drives.SetDescription("Manage storage drives attached to Laptops.");
+                    drives.AddCommand<LaptopDriveAddCommand>("add").WithDescription("Add a drive to a Laptop.");
+                    drives.AddCommand<LaptopDriveSetCommand>("set").WithDescription("Update a Laptop drive.");
+                    drives.AddCommand<LaptopDriveRemoveCommand>("del").WithDescription("Remove a drive from a Laptop.");
                 });
 
                 // GPUs
-                Laptops.AddBranch("gpu", gpu =>
+                laptops.AddBranch("gpu", gpu =>
                 {
                     gpu.SetDescription("Manage GPUs attached to Laptops.");
                     gpu.AddCommand<LaptopGpuAddCommand>("add").WithDescription("Add a GPU to a Laptop.");

+ 1 - 1
Shared.Rcl/Commands/Desktops/Drive/DesktopDriveAddSettings.cs

@@ -14,6 +14,6 @@ public class DesktopDriveAddSettings : CommandSettings
     public string? Type { get; set; }
 
     [CommandOption("--size")]
-    [Description("The drive capacity in Gb.")]
+    [Description("The drive capacity in GB.")]
     public int? Size { get; set; }
 }

+ 2 - 2
Shared.Rcl/Commands/Laptops/Drive/LaptopDriveAddSettings.cs

@@ -5,7 +5,7 @@ namespace RackPeek.Commands.Laptops.Drive;
 
 public class LaptopDriveAddSettings : CommandSettings
 {
-    [CommandArgument(0, "<Laptop>")]
+    [CommandArgument(0, "<laptop>")]
     [Description("The name of the Laptop.")]
     public string LaptopName { get; set; } = default!;
 
@@ -14,6 +14,6 @@ public class LaptopDriveAddSettings : CommandSettings
     public string? Type { get; set; }
 
     [CommandOption("--size")]
-    [Description("The drive capacity in Gb.")]
+    [Description("The drive capacity in GB:.")]
     public int? Size { get; set; }
 }

+ 7 - 2
Shared.Rcl/Commands/Servers/Drives/ServerDriveAddCommand.cs

@@ -1,3 +1,4 @@
+using System.ComponentModel;
 using Microsoft.Extensions.DependencyInjection;
 using RackPeek.Domain.Resources.Hardware.Servers.Drives;
 using Spectre.Console;
@@ -7,9 +8,13 @@ namespace RackPeek.Commands.Servers.Drives;
 
 public class ServerDriveAddSettings : ServerNameSettings
 {
-    [CommandOption("--type <TYPE>")] public string Type { get; set; }
+    [CommandOption("--type <TYPE>")] 
+    [Description("The drive type e.g hdd / ssd.")]
+    public string Type { get; set; }
 
-    [CommandOption("--size <SIZE>")] public int Size { get; set; }
+    [CommandOption("--size <SIZE>")] 
+    [Description("The drive capacity in GB.")]
+    public int Size { get; set; }
 }
 
 public class ServerDriveAddCommand(IServiceProvider serviceProvider)

+ 141 - 141
Shared.Rcl/wwwroot/raw_docs/CommandIndex.md

@@ -1,142 +1,142 @@
 
-- [rpk](docs/Commands.md#rpk)
-  - [summary](docs/Commands.md#rpk-summary) - Show a summarized report of all resources in the system
-  - [servers](docs/Commands.md#rpk-servers) - Manage servers and their components
-    - [summary](docs/Commands.md#rpk-servers-summary) - Show a summarized hardware report for all servers
-    - [add](docs/Commands.md#rpk-servers-add) - Add a new server to the inventory
-    - [get](docs/Commands.md#rpk-servers-get) - List all servers or retrieve a specific server by name
-    - [describe](docs/Commands.md#rpk-servers-describe) - Display detailed information about a specific server
-    - [set](docs/Commands.md#rpk-servers-set) - Update properties of an existing server
-    - [del](docs/Commands.md#rpk-servers-del) - Delete a server from the inventory
-    - [tree](docs/Commands.md#rpk-servers-tree) - Display the dependency tree of a server
-    - [cpu](docs/Commands.md#rpk-servers-cpu) - Manage CPUs attached to a server
-      - [add](docs/Commands.md#rpk-servers-cpu-add) - Add a CPU to a specific server
-      - [set](docs/Commands.md#rpk-servers-cpu-set) - Update configuration of a server CPU
-      - [del](docs/Commands.md#rpk-servers-cpu-del) - Remove a CPU from a server
-    - [drive](docs/Commands.md#rpk-servers-drive) - Manage drives attached to a server
-      - [add](docs/Commands.md#rpk-servers-drive-add) - Add a storage drive to a server
-      - [set](docs/Commands.md#rpk-servers-drive-set) - Update properties of a server drive
-      - [del](docs/Commands.md#rpk-servers-drive-del) - Remove a drive from a server
-    - [gpu](docs/Commands.md#rpk-servers-gpu) - Manage GPUs attached to a server
-      - [add](docs/Commands.md#rpk-servers-gpu-add) - Add a GPU to a server
-      - [set](docs/Commands.md#rpk-servers-gpu-set) - Update properties of a server GPU
-      - [del](docs/Commands.md#rpk-servers-gpu-del) - Remove a GPU from a server
-    - [nic](docs/Commands.md#rpk-servers-nic) - Manage network interface cards (NICs) for a server
-      - [add](docs/Commands.md#rpk-servers-nic-add) - Add a NIC to a server
-      - [set](docs/Commands.md#rpk-servers-nic-set) - Update properties of a server NIC
-      - [del](docs/Commands.md#rpk-servers-nic-del) - Remove a NIC from a server
-  - [switches](docs/Commands.md#rpk-switches) - Manage network switches
-    - [summary](docs/Commands.md#rpk-switches-summary) - Show a hardware report for all switches
-    - [add](docs/Commands.md#rpk-switches-add) - Add a new network switch to the inventory
-    - [list](docs/Commands.md#rpk-switches-list) - List all switches in the system
-    - [get](docs/Commands.md#rpk-switches-get) - Retrieve details of a specific switch by name
-    - [describe](docs/Commands.md#rpk-switches-describe) - Show detailed information about a switch
-    - [set](docs/Commands.md#rpk-switches-set) - Update properties of a switch
-    - [del](docs/Commands.md#rpk-switches-del) - Delete a switch from the inventory
-    - [port](docs/Commands.md#rpk-switches-port) - Manage ports on a network switch
-      - [add](docs/Commands.md#rpk-switches-port-add) - Add a port to a switch
-      - [set](docs/Commands.md#rpk-switches-port-set) - Update a switch port
-      - [del](docs/Commands.md#rpk-switches-port-del) - Remove a port from a switch
-  - [routers](docs/Commands.md#rpk-routers) - Manage network routers
-    - [summary](docs/Commands.md#rpk-routers-summary) - Show a hardware report for all routers
-    - [add](docs/Commands.md#rpk-routers-add) - Add a new network router to the inventory
-    - [list](docs/Commands.md#rpk-routers-list) - List all routers in the system
-    - [get](docs/Commands.md#rpk-routers-get) - Retrieve details of a specific router by name
-    - [describe](docs/Commands.md#rpk-routers-describe) - Show detailed information about a router
-    - [set](docs/Commands.md#rpk-routers-set) - Update properties of a router
-    - [del](docs/Commands.md#rpk-routers-del) - Delete a router from the inventory
-    - [port](docs/Commands.md#rpk-routers-port) - Manage ports on a router
-      - [add](docs/Commands.md#rpk-routers-port-add) - Add a port to a router
-      - [set](docs/Commands.md#rpk-routers-port-set) - Update a router port
-      - [del](docs/Commands.md#rpk-routers-port-del) - Remove a port from a router
-  - [firewalls](docs/Commands.md#rpk-firewalls) - Manage firewalls
-    - [summary](docs/Commands.md#rpk-firewalls-summary) - Show a hardware report for all firewalls
-    - [add](docs/Commands.md#rpk-firewalls-add) - Add a new firewall to the inventory
-    - [list](docs/Commands.md#rpk-firewalls-list) - List all firewalls in the system
-    - [get](docs/Commands.md#rpk-firewalls-get) - Retrieve details of a specific firewall by name
-    - [describe](docs/Commands.md#rpk-firewalls-describe) - Show detailed information about a firewall
-    - [set](docs/Commands.md#rpk-firewalls-set) - Update properties of a firewall
-    - [del](docs/Commands.md#rpk-firewalls-del) - Delete a firewall from the inventory
-    - [port](docs/Commands.md#rpk-firewalls-port) - Manage ports on a firewall
-      - [add](docs/Commands.md#rpk-firewalls-port-add) - Add a port to a firewall
-      - [set](docs/Commands.md#rpk-firewalls-port-set) - Update a firewall port
-      - [del](docs/Commands.md#rpk-firewalls-port-del) - Remove a port from a firewall
-  - [systems](docs/Commands.md#rpk-systems) - Manage systems and their dependencies
-    - [summary](docs/Commands.md#rpk-systems-summary) - Show a summary report for all systems
-    - [add](docs/Commands.md#rpk-systems-add) - Add a new system to the inventory
-    - [list](docs/Commands.md#rpk-systems-list) - List all systems
-    - [get](docs/Commands.md#rpk-systems-get) - Retrieve a system by name
-    - [describe](docs/Commands.md#rpk-systems-describe) - Display detailed information about a system
-    - [set](docs/Commands.md#rpk-systems-set) - Update properties of a system
-    - [del](docs/Commands.md#rpk-systems-del) - Delete a system from the inventory
-    - [tree](docs/Commands.md#rpk-systems-tree) - Display the dependency tree for a system
-  - [accesspoints](docs/Commands.md#rpk-accesspoints) - Manage access points
-    - [summary](docs/Commands.md#rpk-accesspoints-summary) - Show a hardware report for all access points
-    - [add](docs/Commands.md#rpk-accesspoints-add) - Add a new access point
-    - [list](docs/Commands.md#rpk-accesspoints-list) - List all access points
-    - [get](docs/Commands.md#rpk-accesspoints-get) - Retrieve an access point by name
-    - [describe](docs/Commands.md#rpk-accesspoints-describe) - Show detailed information about an access point
-    - [set](docs/Commands.md#rpk-accesspoints-set) - Update properties of an access point
-    - [del](docs/Commands.md#rpk-accesspoints-del) - Delete an access point
-  - [ups](docs/Commands.md#rpk-ups) - Manage UPS units
-    - [summary](docs/Commands.md#rpk-ups-summary) - Show a hardware report for all UPS units
-    - [add](docs/Commands.md#rpk-ups-add) - Add a new UPS unit
-    - [list](docs/Commands.md#rpk-ups-list) - List all UPS units
-    - [get](docs/Commands.md#rpk-ups-get) - Retrieve a UPS unit by name
-    - [describe](docs/Commands.md#rpk-ups-describe) - Show detailed information about a UPS unit
-    - [set](docs/Commands.md#rpk-ups-set) - Update properties of a UPS unit
-    - [del](docs/Commands.md#rpk-ups-del) - Delete a UPS unit
-  - [desktops](docs/Commands.md#rpk-desktops) - Manage desktop computers and their components
-    - [add](docs/Commands.md#rpk-desktops-add) - Add a new desktop
-    - [list](docs/Commands.md#rpk-desktops-list) - List all desktops
-    - [get](docs/Commands.md#rpk-desktops-get) - Retrieve a desktop by name
-    - [describe](docs/Commands.md#rpk-desktops-describe) - Show detailed information about a desktop
-    - [set](docs/Commands.md#rpk-desktops-set) - Update properties of a desktop
-    - [del](docs/Commands.md#rpk-desktops-del) - Delete a desktop from the inventory
-    - [summary](docs/Commands.md#rpk-desktops-summary) - Show a summarized hardware report for all desktops
-    - [tree](docs/Commands.md#rpk-desktops-tree) - Display the dependency tree for a desktop
-    - [cpu](docs/Commands.md#rpk-desktops-cpu) - Manage CPUs attached to desktops
-      - [add](docs/Commands.md#rpk-desktops-cpu-add) - Add a CPU to a desktop
-      - [set](docs/Commands.md#rpk-desktops-cpu-set) - Update a desktop CPU
-      - [del](docs/Commands.md#rpk-desktops-cpu-del) - Remove a CPU from a desktop
-    - [drive](docs/Commands.md#rpk-desktops-drive) - Manage storage drives attached to desktops
-      - [add](docs/Commands.md#rpk-desktops-drive-add) - Add a drive to a desktop
-      - [set](docs/Commands.md#rpk-desktops-drive-set) - Update a desktop drive
-      - [del](docs/Commands.md#rpk-desktops-drive-del) - Remove a drive from a desktop
-    - [gpu](docs/Commands.md#rpk-desktops-gpu) - Manage GPUs attached to desktops
-      - [add](docs/Commands.md#rpk-desktops-gpu-add) - Add a GPU to a desktop
-      - [set](docs/Commands.md#rpk-desktops-gpu-set) - Update a desktop GPU
-      - [del](docs/Commands.md#rpk-desktops-gpu-del) - Remove a GPU from a desktop
-    - [nic](docs/Commands.md#rpk-desktops-nic) - Manage network interface cards (NICs) for desktops
-      - [add](docs/Commands.md#rpk-desktops-nic-add) - Add a NIC to a desktop
-      - [set](docs/Commands.md#rpk-desktops-nic-set) - Update a desktop NIC
-      - [del](docs/Commands.md#rpk-desktops-nic-del) - Remove a NIC from a desktop
-  - [Laptops](docs/Commands.md#rpk-laptops) - Manage Laptop computers and their components
-    - [add](docs/Commands.md#rpk-laptops-add) - Add a new Laptop
-    - [list](docs/Commands.md#rpk-laptops-list) - List all Laptops
-    - [get](docs/Commands.md#rpk-laptops-get) - Retrieve a Laptop by name
-    - [describe](docs/Commands.md#rpk-laptops-describe) - Show detailed information about a Laptop
-    - [del](docs/Commands.md#rpk-laptops-del) - Delete a Laptop from the inventory
-    - [summary](docs/Commands.md#rpk-laptops-summary) - Show a summarized hardware report for all Laptops
-    - [tree](docs/Commands.md#rpk-laptops-tree) - Display the dependency tree for a Laptop
-    - [cpu](docs/Commands.md#rpk-laptops-cpu) - Manage CPUs attached to Laptops
-      - [add](docs/Commands.md#rpk-laptops-cpu-add) - Add a CPU to a Laptop
-      - [set](docs/Commands.md#rpk-laptops-cpu-set) - Update a Laptop CPU
-      - [del](docs/Commands.md#rpk-laptops-cpu-del) - Remove a CPU from a Laptop
-    - [drive](docs/Commands.md#rpk-laptops-drive) - Manage storage drives attached to Laptops
-      - [add](docs/Commands.md#rpk-laptops-drive-add) - Add a drive to a Laptop
-      - [set](docs/Commands.md#rpk-laptops-drive-set) - Update a Laptop drive
-      - [del](docs/Commands.md#rpk-laptops-drive-del) - Remove a drive from a Laptop
-    - [gpu](docs/Commands.md#rpk-laptops-gpu) - Manage GPUs attached to Laptops
-      - [add](docs/Commands.md#rpk-laptops-gpu-add) - Add a GPU to a Laptop
-      - [set](docs/Commands.md#rpk-laptops-gpu-set) - Update a Laptop GPU
-      - [del](docs/Commands.md#rpk-laptops-gpu-del) - Remove a GPU from a Laptop
-  - [services](docs/Commands.md#rpk-services) - Manage services and their configurations
-    - [summary](docs/Commands.md#rpk-services-summary) - Show a summary report for all services
-    - [add](docs/Commands.md#rpk-services-add) - Add a new service
-    - [list](docs/Commands.md#rpk-services-list) - List all services
-    - [get](docs/Commands.md#rpk-services-get) - Retrieve a service by name
-    - [describe](docs/Commands.md#rpk-services-describe) - Show detailed information about a service
-    - [set](docs/Commands.md#rpk-services-set) - Update properties of a service
-    - [del](docs/Commands.md#rpk-services-del) - Delete a service
-    - [subnets](docs/Commands.md#rpk-services-subnets) - List subnets associated with a service, optionally filtered by CIDR
+- [rpk](Commands.md#rpk)
+  - [summary](Commands.md#rpk-summary) - Show a summarized report of all resources in the system
+  - [servers](Commands.md#rpk-servers) - Manage servers and their components
+    - [summary](Commands.md#rpk-servers-summary) - Show a summarized hardware report for all servers
+    - [add](Commands.md#rpk-servers-add) - Add a new server to the inventory
+    - [get](Commands.md#rpk-servers-get) - List all servers or retrieve a specific server by name
+    - [describe](Commands.md#rpk-servers-describe) - Display detailed information about a specific server
+    - [set](Commands.md#rpk-servers-set) - Update properties of an existing server
+    - [del](Commands.md#rpk-servers-del) - Delete a server from the inventory
+    - [tree](Commands.md#rpk-servers-tree) - Display the dependency tree of a server
+    - [cpu](Commands.md#rpk-servers-cpu) - Manage CPUs attached to a server
+      - [add](Commands.md#rpk-servers-cpu-add) - Add a CPU to a specific server
+      - [set](Commands.md#rpk-servers-cpu-set) - Update configuration of a server CPU
+      - [del](Commands.md#rpk-servers-cpu-del) - Remove a CPU from a server
+    - [drive](Commands.md#rpk-servers-drive) - Manage drives attached to a server
+      - [add](Commands.md#rpk-servers-drive-add) - Add a storage drive to a server
+      - [set](Commands.md#rpk-servers-drive-set) - Update properties of a server drive
+      - [del](Commands.md#rpk-servers-drive-del) - Remove a drive from a server
+    - [gpu](Commands.md#rpk-servers-gpu) - Manage GPUs attached to a server
+      - [add](Commands.md#rpk-servers-gpu-add) - Add a GPU to a server
+      - [set](Commands.md#rpk-servers-gpu-set) - Update properties of a server GPU
+      - [del](Commands.md#rpk-servers-gpu-del) - Remove a GPU from a server
+    - [nic](Commands.md#rpk-servers-nic) - Manage network interface cards (NICs) for a server
+      - [add](Commands.md#rpk-servers-nic-add) - Add a NIC to a server
+      - [set](Commands.md#rpk-servers-nic-set) - Update properties of a server NIC
+      - [del](Commands.md#rpk-servers-nic-del) - Remove a NIC from a server
+  - [switches](Commands.md#rpk-switches) - Manage network switches
+    - [summary](Commands.md#rpk-switches-summary) - Show a hardware report for all switches
+    - [add](Commands.md#rpk-switches-add) - Add a new network switch to the inventory
+    - [list](Commands.md#rpk-switches-list) - List all switches in the system
+    - [get](Commands.md#rpk-switches-get) - Retrieve details of a specific switch by name
+    - [describe](Commands.md#rpk-switches-describe) - Show detailed information about a switch
+    - [set](Commands.md#rpk-switches-set) - Update properties of a switch
+    - [del](Commands.md#rpk-switches-del) - Delete a switch from the inventory
+    - [port](Commands.md#rpk-switches-port) - Manage ports on a network switch
+      - [add](Commands.md#rpk-switches-port-add) - Add a port to a switch
+      - [set](Commands.md#rpk-switches-port-set) - Update a switch port
+      - [del](Commands.md#rpk-switches-port-del) - Remove a port from a switch
+  - [routers](Commands.md#rpk-routers) - Manage network routers
+    - [summary](Commands.md#rpk-routers-summary) - Show a hardware report for all routers
+    - [add](Commands.md#rpk-routers-add) - Add a new network router to the inventory
+    - [list](Commands.md#rpk-routers-list) - List all routers in the system
+    - [get](Commands.md#rpk-routers-get) - Retrieve details of a specific router by name
+    - [describe](Commands.md#rpk-routers-describe) - Show detailed information about a router
+    - [set](Commands.md#rpk-routers-set) - Update properties of a router
+    - [del](Commands.md#rpk-routers-del) - Delete a router from the inventory
+    - [port](Commands.md#rpk-routers-port) - Manage ports on a router
+      - [add](Commands.md#rpk-routers-port-add) - Add a port to a router
+      - [set](Commands.md#rpk-routers-port-set) - Update a router port
+      - [del](Commands.md#rpk-routers-port-del) - Remove a port from a router
+  - [firewalls](Commands.md#rpk-firewalls) - Manage firewalls
+    - [summary](Commands.md#rpk-firewalls-summary) - Show a hardware report for all firewalls
+    - [add](Commands.md#rpk-firewalls-add) - Add a new firewall to the inventory
+    - [list](Commands.md#rpk-firewalls-list) - List all firewalls in the system
+    - [get](Commands.md#rpk-firewalls-get) - Retrieve details of a specific firewall by name
+    - [describe](Commands.md#rpk-firewalls-describe) - Show detailed information about a firewall
+    - [set](Commands.md#rpk-firewalls-set) - Update properties of a firewall
+    - [del](Commands.md#rpk-firewalls-del) - Delete a firewall from the inventory
+    - [port](Commands.md#rpk-firewalls-port) - Manage ports on a firewall
+      - [add](Commands.md#rpk-firewalls-port-add) - Add a port to a firewall
+      - [set](Commands.md#rpk-firewalls-port-set) - Update a firewall port
+      - [del](Commands.md#rpk-firewalls-port-del) - Remove a port from a firewall
+  - [systems](Commands.md#rpk-systems) - Manage systems and their dependencies
+    - [summary](Commands.md#rpk-systems-summary) - Show a summary report for all systems
+    - [add](Commands.md#rpk-systems-add) - Add a new system to the inventory
+    - [list](Commands.md#rpk-systems-list) - List all systems
+    - [get](Commands.md#rpk-systems-get) - Retrieve a system by name
+    - [describe](Commands.md#rpk-systems-describe) - Display detailed information about a system
+    - [set](Commands.md#rpk-systems-set) - Update properties of a system
+    - [del](Commands.md#rpk-systems-del) - Delete a system from the inventory
+    - [tree](Commands.md#rpk-systems-tree) - Display the dependency tree for a system
+  - [accesspoints](Commands.md#rpk-accesspoints) - Manage access points
+    - [summary](Commands.md#rpk-accesspoints-summary) - Show a hardware report for all access points
+    - [add](Commands.md#rpk-accesspoints-add) - Add a new access point
+    - [list](Commands.md#rpk-accesspoints-list) - List all access points
+    - [get](Commands.md#rpk-accesspoints-get) - Retrieve an access point by name
+    - [describe](Commands.md#rpk-accesspoints-describe) - Show detailed information about an access point
+    - [set](Commands.md#rpk-accesspoints-set) - Update properties of an access point
+    - [del](Commands.md#rpk-accesspoints-del) - Delete an access point
+  - [ups](Commands.md#rpk-ups) - Manage UPS units
+    - [summary](Commands.md#rpk-ups-summary) - Show a hardware report for all UPS units
+    - [add](Commands.md#rpk-ups-add) - Add a new UPS unit
+    - [list](Commands.md#rpk-ups-list) - List all UPS units
+    - [get](Commands.md#rpk-ups-get) - Retrieve a UPS unit by name
+    - [describe](Commands.md#rpk-ups-describe) - Show detailed information about a UPS unit
+    - [set](Commands.md#rpk-ups-set) - Update properties of a UPS unit
+    - [del](Commands.md#rpk-ups-del) - Delete a UPS unit
+  - [desktops](Commands.md#rpk-desktops) - Manage desktop computers and their components
+    - [add](Commands.md#rpk-desktops-add) - Add a new desktop
+    - [list](Commands.md#rpk-desktops-list) - List all desktops
+    - [get](Commands.md#rpk-desktops-get) - Retrieve a desktop by name
+    - [describe](Commands.md#rpk-desktops-describe) - Show detailed information about a desktop
+    - [set](Commands.md#rpk-desktops-set) - Update properties of a desktop
+    - [del](Commands.md#rpk-desktops-del) - Delete a desktop from the inventory
+    - [summary](Commands.md#rpk-desktops-summary) - Show a summarized hardware report for all desktops
+    - [tree](Commands.md#rpk-desktops-tree) - Display the dependency tree for a desktop
+    - [cpu](Commands.md#rpk-desktops-cpu) - Manage CPUs attached to desktops
+      - [add](Commands.md#rpk-desktops-cpu-add) - Add a CPU to a desktop
+      - [set](Commands.md#rpk-desktops-cpu-set) - Update a desktop CPU
+      - [del](Commands.md#rpk-desktops-cpu-del) - Remove a CPU from a desktop
+    - [drive](Commands.md#rpk-desktops-drive) - Manage storage drives attached to desktops
+      - [add](Commands.md#rpk-desktops-drive-add) - Add a drive to a desktop
+      - [set](Commands.md#rpk-desktops-drive-set) - Update a desktop drive
+      - [del](Commands.md#rpk-desktops-drive-del) - Remove a drive from a desktop
+    - [gpu](Commands.md#rpk-desktops-gpu) - Manage GPUs attached to desktops
+      - [add](Commands.md#rpk-desktops-gpu-add) - Add a GPU to a desktop
+      - [set](Commands.md#rpk-desktops-gpu-set) - Update a desktop GPU
+      - [del](Commands.md#rpk-desktops-gpu-del) - Remove a GPU from a desktop
+    - [nic](Commands.md#rpk-desktops-nic) - Manage network interface cards (NICs) for desktops
+      - [add](Commands.md#rpk-desktops-nic-add) - Add a NIC to a desktop
+      - [set](Commands.md#rpk-desktops-nic-set) - Update a desktop NIC
+      - [del](Commands.md#rpk-desktops-nic-del) - Remove a NIC from a desktop
+  - [laptops](Commands.md#rpk-laptops) - Manage Laptop computers and their components
+    - [add](Commands.md#rpk-laptops-add) - Add a new Laptop
+    - [list](Commands.md#rpk-laptops-list) - List all Laptops
+    - [get](Commands.md#rpk-laptops-get) - Retrieve a Laptop by name
+    - [describe](Commands.md#rpk-laptops-describe) - Show detailed information about a Laptop
+    - [del](Commands.md#rpk-laptops-del) - Delete a Laptop from the inventory
+    - [summary](Commands.md#rpk-laptops-summary) - Show a summarized hardware report for all Laptops
+    - [tree](Commands.md#rpk-laptops-tree) - Display the dependency tree for a Laptop
+    - [cpu](Commands.md#rpk-laptops-cpu) - Manage CPUs attached to Laptops
+      - [add](Commands.md#rpk-laptops-cpu-add) - Add a CPU to a Laptop
+      - [set](Commands.md#rpk-laptops-cpu-set) - Update a Laptop CPU
+      - [del](Commands.md#rpk-laptops-cpu-del) - Remove a CPU from a Laptop
+    - [drives](Commands.md#rpk-laptops-drives) - Manage storage drives attached to Laptops
+      - [add](Commands.md#rpk-laptops-drives-add) - Add a drive to a Laptop
+      - [set](Commands.md#rpk-laptops-drives-set) - Update a Laptop drive
+      - [del](Commands.md#rpk-laptops-drives-del) - Remove a drive from a Laptop
+    - [gpu](Commands.md#rpk-laptops-gpu) - Manage GPUs attached to Laptops
+      - [add](Commands.md#rpk-laptops-gpu-add) - Add a GPU to a Laptop
+      - [set](Commands.md#rpk-laptops-gpu-set) - Update a Laptop GPU
+      - [del](Commands.md#rpk-laptops-gpu-del) - Remove a GPU from a Laptop
+  - [services](Commands.md#rpk-services) - Manage services and their configurations
+    - [summary](Commands.md#rpk-services-summary) - Show a summary report for all services
+    - [add](Commands.md#rpk-services-add) - Add a new service
+    - [list](Commands.md#rpk-services-list) - List all services
+    - [get](Commands.md#rpk-services-get) - Retrieve a service by name
+    - [describe](Commands.md#rpk-services-describe) - Show detailed information about a service
+    - [set](Commands.md#rpk-services-set) - Update properties of a service
+    - [del](Commands.md#rpk-services-del) - Delete a service
+    - [subnets](Commands.md#rpk-services-subnets) - List subnets associated with a service, optionally filtered by CIDR

+ 130 - 143
Shared.Rcl/wwwroot/raw_docs/Commands.md

@@ -10,18 +10,17 @@ OPTIONS:
     -v, --version    Prints version information
 
 COMMANDS:
-    summary         Show a summarized report of all resources in   
-                    the system                                     
-    servers         Manage servers and their components            
-    switches        Manage network switches                        
-    routers         Manage network routers                         
-    firewalls       Manage firewalls                               
-    systems         Manage systems and their dependencies          
-    accesspoints    Manage access points                           
-    ups             Manage UPS units                               
-    desktops        Manage desktop computers and their components  
-    Laptops         Manage Laptop computers and their components   
-    services        Manage services and their configurations       
+    summary         Show a summarized report of all resources in the system
+    servers         Manage servers and their components                    
+    switches        Manage network switches                                
+    routers         Manage network routers                                 
+    firewalls       Manage firewalls                                       
+    systems         Manage systems and their dependencies                  
+    accesspoints    Manage access points                                   
+    ups             Manage UPS units                                       
+    desktops        Manage desktop computers and their components          
+    laptops         Manage Laptop computers and their components           
+    services        Manage services and their configurations               
 ```
 
 ## `rpk summary`
@@ -48,21 +47,17 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a summarized hardware report for all   
-                       servers                                     
-    add <name>         Add a new server to the inventory           
-    get <name>         List all servers or retrieve a specific     
-                       server by name                              
-    describe <name>    Display detailed information about a        
-                       specific server                             
-    set <name>         Update properties of an existing server     
-    del <name>         Delete a server from the inventory          
-    tree <name>        Display the dependency tree of a server     
-    cpu                Manage CPUs attached to a server            
-    drive              Manage drives attached to a server          
-    gpu                Manage GPUs attached to a server            
-    nic                Manage network interface cards (NICs) for a 
-                       server                                      
+    summary            Show a summarized hardware report for all servers     
+    add <name>         Add a new server to the inventory                     
+    get <name>         List all servers or retrieve a specific server by name
+    describe <name>    Display detailed information about a specific server  
+    set <name>         Update properties of an existing server               
+    del <name>         Delete a server from the inventory                    
+    tree <name>        Display the dependency tree of a server               
+    cpu                Manage CPUs attached to a server                      
+    drive              Manage drives attached to a server                    
+    gpu                Manage GPUs attached to a server                      
+    nic                Manage network interface cards (NICs) for a server    
 ```
 
 ## `rpk servers summary`
@@ -269,9 +264,9 @@ ARGUMENTS:
     <name>     
 
 OPTIONS:
-    -h, --help           Prints help information
-        --type <TYPE>                           
-        --size <SIZE>                           
+    -h, --help           Prints help information     
+        --type <TYPE>    The drive type e.g hdd / ssd
+        --size <SIZE>    The drive capacity in GB    
 ```
 
 ## `rpk servers drive set`
@@ -458,15 +453,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all switches     
-    add <name>         Add a new network switch to the inventory   
-    list               List all switches in the system             
-    get <name>         Retrieve details of a specific switch by    
-                       name                                        
-    describe <name>    Show detailed information about a switch    
-    set <name>         Update properties of a switch               
-    del <name>         Delete a switch from the inventory          
-    port               Manage ports on a network switch            
+    summary            Show a hardware report for all switches      
+    add <name>         Add a new network switch to the inventory    
+    list               List all switches in the system              
+    get <name>         Retrieve details of a specific switch by name
+    describe <name>    Show detailed information about a switch     
+    set <name>         Update properties of a switch                
+    del <name>         Delete a switch from the inventory           
+    port               Manage ports on a network switch             
 ```
 
 ## `rpk switches summary`
@@ -653,15 +647,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all routers      
-    add <name>         Add a new network router to the inventory   
-    list               List all routers in the system              
-    get <name>         Retrieve details of a specific router by    
-                       name                                        
-    describe <name>    Show detailed information about a router    
-    set <name>         Update properties of a router               
-    del <name>         Delete a router from the inventory          
-    port               Manage ports on a router                    
+    summary            Show a hardware report for all routers       
+    add <name>         Add a new network router to the inventory    
+    list               List all routers in the system               
+    get <name>         Retrieve details of a specific router by name
+    describe <name>    Show detailed information about a router     
+    set <name>         Update properties of a router                
+    del <name>         Delete a router from the inventory           
+    port               Manage ports on a router                     
 ```
 
 ## `rpk routers summary`
@@ -848,15 +841,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all firewalls    
-    add <name>         Add a new firewall to the inventory         
-    list               List all firewalls in the system            
-    get <name>         Retrieve details of a specific firewall by  
-                       name                                        
-    describe <name>    Show detailed information about a firewall  
-    set <name>         Update properties of a firewall             
-    del <name>         Delete a firewall from the inventory        
-    port               Manage ports on a firewall                  
+    summary            Show a hardware report for all firewalls       
+    add <name>         Add a new firewall to the inventory            
+    list               List all firewalls in the system               
+    get <name>         Retrieve details of a specific firewall by name
+    describe <name>    Show detailed information about a firewall     
+    set <name>         Update properties of a firewall                
+    del <name>         Delete a firewall from the inventory           
+    port               Manage ports on a firewall                     
 ```
 
 ## `rpk firewalls summary`
@@ -1184,14 +1176,13 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all access points
-    add <name>         Add a new access point                      
-    list               List all access points                      
-    get <name>         Retrieve an access point by name            
-    describe <name>    Show detailed information about an access   
-                       point                                       
-    set <name>         Update properties of an access point        
-    del <name>         Delete an access point                      
+    summary            Show a hardware report for all access points   
+    add <name>         Add a new access point                         
+    list               List all access points                         
+    get <name>         Retrieve an access point by name               
+    describe <name>    Show detailed information about an access point
+    set <name>         Update properties of an access point           
+    del <name>         Delete an access point                         
 ```
 
 ## `rpk accesspoints summary`
@@ -1429,20 +1420,18 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <name>         Add a new desktop                           
-    list               List all desktops                           
-    get <name>         Retrieve a desktop by name                  
-    describe <name>    Show detailed information about a desktop   
-    set <name>         Update properties of a desktop              
-    del <name>         Delete a desktop from the inventory         
-    summary            Show a summarized hardware report for all   
-                       desktops                                    
-    tree <name>        Display the dependency tree for a desktop   
-    cpu                Manage CPUs attached to desktops            
-    drive              Manage storage drives attached to desktops  
-    gpu                Manage GPUs attached to desktops            
-    nic                Manage network interface cards (NICs) for   
-                       desktops                                    
+    add <name>         Add a new desktop                                 
+    list               List all desktops                                 
+    get <name>         Retrieve a desktop by name                        
+    describe <name>    Show detailed information about a desktop         
+    set <name>         Update properties of a desktop                    
+    del <name>         Delete a desktop from the inventory               
+    summary            Show a summarized hardware report for all desktops
+    tree <name>        Display the dependency tree for a desktop         
+    cpu                Manage CPUs attached to desktops                  
+    drive              Manage storage drives attached to desktops        
+    gpu                Manage GPUs attached to desktops                  
+    nic                Manage network interface cards (NICs) for desktops
 ```
 
 ## `rpk desktops add`
@@ -1661,7 +1650,7 @@ ARGUMENTS:
 OPTIONS:
     -h, --help    Prints help information     
         --type    The drive type e.g hdd / ssd
-        --size    The drive capacity in Gb    
+        --size    The drive capacity in GB    
 ```
 
 ## `rpk desktops drive set`
@@ -1836,38 +1825,37 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops`
+## `rpk laptops`
 ```
 DESCRIPTION:
 Manage Laptop computers and their components
 
 USAGE:
-    rpk Laptops [OPTIONS] <COMMAND>
+    rpk laptops [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <name>         Add a new Laptop                            
-    list               List all Laptops                            
-    get <name>         Retrieve a Laptop by name                   
-    describe <name>    Show detailed information about a Laptop    
-    del <name>         Delete a Laptop from the inventory          
-    summary            Show a summarized hardware report for all   
-                       Laptops                                     
-    tree <name>        Display the dependency tree for a Laptop    
-    cpu                Manage CPUs attached to Laptops             
-    drive              Manage storage drives attached to Laptops   
-    gpu                Manage GPUs attached to Laptops             
+    add <name>         Add a new Laptop                                 
+    list               List all Laptops                                 
+    get <name>         Retrieve a Laptop by name                        
+    describe <name>    Show detailed information about a Laptop         
+    del <name>         Delete a Laptop from the inventory               
+    summary            Show a summarized hardware report for all Laptops
+    tree <name>        Display the dependency tree for a Laptop         
+    cpu                Manage CPUs attached to Laptops                  
+    drives             Manage storage drives attached to Laptops        
+    gpu                Manage GPUs attached to Laptops                  
 ```
 
-## `rpk Laptops add`
+## `rpk laptops add`
 ```
 DESCRIPTION:
 Add a new Laptop
 
 USAGE:
-    rpk Laptops add <name> [OPTIONS]
+    rpk laptops add <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1876,25 +1864,25 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops list`
+## `rpk laptops list`
 ```
 DESCRIPTION:
 List all Laptops
 
 USAGE:
-    rpk Laptops list [OPTIONS]
+    rpk laptops list [OPTIONS]
 
 OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops get`
+## `rpk laptops get`
 ```
 DESCRIPTION:
 Retrieve a Laptop by name
 
 USAGE:
-    rpk Laptops get <name> [OPTIONS]
+    rpk laptops get <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1903,13 +1891,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops describe`
+## `rpk laptops describe`
 ```
 DESCRIPTION:
 Show detailed information about a Laptop
 
 USAGE:
-    rpk Laptops describe <name> [OPTIONS]
+    rpk laptops describe <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1918,13 +1906,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops del`
+## `rpk laptops del`
 ```
 DESCRIPTION:
 Delete a Laptop from the inventory
 
 USAGE:
-    rpk Laptops del <name> [OPTIONS]
+    rpk laptops del <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1933,25 +1921,25 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops summary`
+## `rpk laptops summary`
 ```
 DESCRIPTION:
 Show a summarized hardware report for all Laptops
 
 USAGE:
-    rpk Laptops summary [OPTIONS]
+    rpk laptops summary [OPTIONS]
 
 OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops tree`
+## `rpk laptops tree`
 ```
 DESCRIPTION:
 Display the dependency tree for a Laptop
 
 USAGE:
-    rpk Laptops tree <name> [OPTIONS]
+    rpk laptops tree <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1960,13 +1948,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops cpu`
+## `rpk laptops cpu`
 ```
 DESCRIPTION:
 Manage CPUs attached to Laptops
 
 USAGE:
-    rpk Laptops cpu [OPTIONS] <COMMAND>
+    rpk laptops cpu [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
@@ -1977,13 +1965,13 @@ COMMANDS:
     del <Laptop> <index>    Remove a CPU from a Laptop
 ```
 
-## `rpk Laptops cpu add`
+## `rpk laptops cpu add`
 ```
 DESCRIPTION:
 Add a CPU to a Laptop
 
 USAGE:
-    rpk Laptops cpu add <Laptop> [OPTIONS]
+    rpk laptops cpu add <Laptop> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name
@@ -1995,13 +1983,13 @@ OPTIONS:
         --threads    The number of cpu threads
 ```
 
-## `rpk Laptops cpu set`
+## `rpk laptops cpu set`
 ```
 DESCRIPTION:
 Update a Laptop CPU
 
 USAGE:
-    rpk Laptops cpu set <Laptop> <index> [OPTIONS]
+    rpk laptops cpu set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name            
@@ -2014,13 +2002,13 @@ OPTIONS:
         --threads    The number of cpu threads
 ```
 
-## `rpk Laptops cpu del`
+## `rpk laptops cpu del`
 ```
 DESCRIPTION:
 Remove a CPU from a Laptop
 
 USAGE:
-    rpk Laptops cpu del <Laptop> <index> [OPTIONS]
+    rpk laptops cpu del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop               
@@ -2030,47 +2018,47 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops drive`
+## `rpk laptops drives`
 ```
 DESCRIPTION:
 Manage storage drives attached to Laptops
 
 USAGE:
-    rpk Laptops drive [OPTIONS] <COMMAND>
+    rpk laptops drives [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <Laptop>            Add a drive to a Laptop     
+    add <laptop>            Add a drive to a Laptop     
     set <Laptop> <index>    Update a Laptop drive       
     del <Laptop> <index>    Remove a drive from a Laptop
 ```
 
-## `rpk Laptops drive add`
+## `rpk laptops drives add`
 ```
 DESCRIPTION:
 Add a drive to a Laptop
 
 USAGE:
-    rpk Laptops drive add <Laptop> [OPTIONS]
+    rpk laptops drives add <laptop> [OPTIONS]
 
 ARGUMENTS:
-    <Laptop>    The name of the Laptop
+    <laptop>    The name of the Laptop
 
 OPTIONS:
     -h, --help    Prints help information     
         --type    The drive type e.g hdd / ssd
-        --size    The drive capacity in Gb    
+        --size    The drive capacity in GB:   
 ```
 
-## `rpk Laptops drive set`
+## `rpk laptops drives set`
 ```
 DESCRIPTION:
 Update a Laptop drive
 
 USAGE:
-    rpk Laptops drive set <Laptop> <index> [OPTIONS]
+    rpk laptops drives set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name          
@@ -2082,13 +2070,13 @@ OPTIONS:
         --size    The drive capacity in Gb    
 ```
 
-## `rpk Laptops drive del`
+## `rpk laptops drives del`
 ```
 DESCRIPTION:
 Remove a drive from a Laptop
 
 USAGE:
-    rpk Laptops drive del <Laptop> <index> [OPTIONS]
+    rpk laptops drives del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop          
@@ -2098,13 +2086,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops gpu`
+## `rpk laptops gpu`
 ```
 DESCRIPTION:
 Manage GPUs attached to Laptops
 
 USAGE:
-    rpk Laptops gpu [OPTIONS] <COMMAND>
+    rpk laptops gpu [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
@@ -2115,13 +2103,13 @@ COMMANDS:
     del <Laptop> <index>    Remove a GPU from a Laptop
 ```
 
-## `rpk Laptops gpu add`
+## `rpk laptops gpu add`
 ```
 DESCRIPTION:
 Add a GPU to a Laptop
 
 USAGE:
-    rpk Laptops gpu add <Laptop> [OPTIONS]
+    rpk laptops gpu add <Laptop> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop
@@ -2132,13 +2120,13 @@ OPTIONS:
         --vram     The amount of gpu vram in Gb
 ```
 
-## `rpk Laptops gpu set`
+## `rpk laptops gpu set`
 ```
 DESCRIPTION:
 Update a Laptop GPU
 
 USAGE:
-    rpk Laptops gpu set <Laptop> <index> [OPTIONS]
+    rpk laptops gpu set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name               
@@ -2150,13 +2138,13 @@ OPTIONS:
         --vram     The amount of gpu vram in Gb
 ```
 
-## `rpk Laptops gpu del`
+## `rpk laptops gpu del`
 ```
 DESCRIPTION:
 Remove a GPU from a Laptop
 
 USAGE:
-    rpk Laptops gpu del <Laptop> <index> [OPTIONS]
+    rpk laptops gpu del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name               
@@ -2178,15 +2166,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a summary report for all services      
-    add <name>         Add a new service                           
-    list               List all services                           
-    get <name>         Retrieve a service by name                  
-    describe <name>    Show detailed information about a service   
-    set <name>         Update properties of a service              
-    del <name>         Delete a service                            
-    subnets            List subnets associated with a service,     
-                       optionally filtered by CIDR                 
+    summary            Show a summary report for all services                             
+    add <name>         Add a new service                                                  
+    list               List all services                                                  
+    get <name>         Retrieve a service by name                                         
+    describe <name>    Show detailed information about a service                          
+    set <name>         Update properties of a service                                     
+    del <name>         Delete a service                                                   
+    subnets            List subnets associated with a service, optionally filtered by CIDR
 ```
 
 ## `rpk services summary`

+ 0 - 2
Tests/EndToEnd/AccessPointE2ETests.cs

@@ -27,8 +27,6 @@ public class AccessPointYamlE2ETests(TempYamlCliFixture fs, ITestOutputHelper ou
     [Fact]
     public async Task accesspoints_cli_workflow_test()
     {
-        await File.WriteAllTextAsync(Path.Combine(fs.Root, "config.yaml"), "");
-
         // Add AP
         var (output, yaml) = await ExecuteAsync("accesspoints", "add", "ap01");
         Assert.Equal("Access Point 'ap01' added.\n", output);

+ 5 - 5
docs/CommandIndex.md

@@ -111,7 +111,7 @@
       - [add](Commands.md#rpk-desktops-nic-add) - Add a NIC to a desktop
       - [set](Commands.md#rpk-desktops-nic-set) - Update a desktop NIC
       - [del](Commands.md#rpk-desktops-nic-del) - Remove a NIC from a desktop
-  - [Laptops](Commands.md#rpk-laptops) - Manage Laptop computers and their components
+  - [laptops](Commands.md#rpk-laptops) - Manage Laptop computers and their components
     - [add](Commands.md#rpk-laptops-add) - Add a new Laptop
     - [list](Commands.md#rpk-laptops-list) - List all Laptops
     - [get](Commands.md#rpk-laptops-get) - Retrieve a Laptop by name
@@ -123,10 +123,10 @@
       - [add](Commands.md#rpk-laptops-cpu-add) - Add a CPU to a Laptop
       - [set](Commands.md#rpk-laptops-cpu-set) - Update a Laptop CPU
       - [del](Commands.md#rpk-laptops-cpu-del) - Remove a CPU from a Laptop
-    - [drive](Commands.md#rpk-laptops-drive) - Manage storage drives attached to Laptops
-      - [add](Commands.md#rpk-laptops-drive-add) - Add a drive to a Laptop
-      - [set](Commands.md#rpk-laptops-drive-set) - Update a Laptop drive
-      - [del](Commands.md#rpk-laptops-drive-del) - Remove a drive from a Laptop
+    - [drives](Commands.md#rpk-laptops-drives) - Manage storage drives attached to Laptops
+      - [add](Commands.md#rpk-laptops-drives-add) - Add a drive to a Laptop
+      - [set](Commands.md#rpk-laptops-drives-set) - Update a Laptop drive
+      - [del](Commands.md#rpk-laptops-drives-del) - Remove a drive from a Laptop
     - [gpu](Commands.md#rpk-laptops-gpu) - Manage GPUs attached to Laptops
       - [add](Commands.md#rpk-laptops-gpu-add) - Add a GPU to a Laptop
       - [set](Commands.md#rpk-laptops-gpu-set) - Update a Laptop GPU

+ 130 - 143
docs/Commands.md

@@ -10,18 +10,17 @@ OPTIONS:
     -v, --version    Prints version information
 
 COMMANDS:
-    summary         Show a summarized report of all resources in   
-                    the system                                     
-    servers         Manage servers and their components            
-    switches        Manage network switches                        
-    routers         Manage network routers                         
-    firewalls       Manage firewalls                               
-    systems         Manage systems and their dependencies          
-    accesspoints    Manage access points                           
-    ups             Manage UPS units                               
-    desktops        Manage desktop computers and their components  
-    Laptops         Manage Laptop computers and their components   
-    services        Manage services and their configurations       
+    summary         Show a summarized report of all resources in the system
+    servers         Manage servers and their components                    
+    switches        Manage network switches                                
+    routers         Manage network routers                                 
+    firewalls       Manage firewalls                                       
+    systems         Manage systems and their dependencies                  
+    accesspoints    Manage access points                                   
+    ups             Manage UPS units                                       
+    desktops        Manage desktop computers and their components          
+    laptops         Manage Laptop computers and their components           
+    services        Manage services and their configurations               
 ```
 
 ## `rpk summary`
@@ -48,21 +47,17 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a summarized hardware report for all   
-                       servers                                     
-    add <name>         Add a new server to the inventory           
-    get <name>         List all servers or retrieve a specific     
-                       server by name                              
-    describe <name>    Display detailed information about a        
-                       specific server                             
-    set <name>         Update properties of an existing server     
-    del <name>         Delete a server from the inventory          
-    tree <name>        Display the dependency tree of a server     
-    cpu                Manage CPUs attached to a server            
-    drive              Manage drives attached to a server          
-    gpu                Manage GPUs attached to a server            
-    nic                Manage network interface cards (NICs) for a 
-                       server                                      
+    summary            Show a summarized hardware report for all servers     
+    add <name>         Add a new server to the inventory                     
+    get <name>         List all servers or retrieve a specific server by name
+    describe <name>    Display detailed information about a specific server  
+    set <name>         Update properties of an existing server               
+    del <name>         Delete a server from the inventory                    
+    tree <name>        Display the dependency tree of a server               
+    cpu                Manage CPUs attached to a server                      
+    drive              Manage drives attached to a server                    
+    gpu                Manage GPUs attached to a server                      
+    nic                Manage network interface cards (NICs) for a server    
 ```
 
 ## `rpk servers summary`
@@ -269,9 +264,9 @@ ARGUMENTS:
     <name>     
 
 OPTIONS:
-    -h, --help           Prints help information
-        --type <TYPE>                           
-        --size <SIZE>                           
+    -h, --help           Prints help information     
+        --type <TYPE>    The drive type e.g hdd / ssd
+        --size <SIZE>    The drive capacity in GB    
 ```
 
 ## `rpk servers drive set`
@@ -458,15 +453,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all switches     
-    add <name>         Add a new network switch to the inventory   
-    list               List all switches in the system             
-    get <name>         Retrieve details of a specific switch by    
-                       name                                        
-    describe <name>    Show detailed information about a switch    
-    set <name>         Update properties of a switch               
-    del <name>         Delete a switch from the inventory          
-    port               Manage ports on a network switch            
+    summary            Show a hardware report for all switches      
+    add <name>         Add a new network switch to the inventory    
+    list               List all switches in the system              
+    get <name>         Retrieve details of a specific switch by name
+    describe <name>    Show detailed information about a switch     
+    set <name>         Update properties of a switch                
+    del <name>         Delete a switch from the inventory           
+    port               Manage ports on a network switch             
 ```
 
 ## `rpk switches summary`
@@ -653,15 +647,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all routers      
-    add <name>         Add a new network router to the inventory   
-    list               List all routers in the system              
-    get <name>         Retrieve details of a specific router by    
-                       name                                        
-    describe <name>    Show detailed information about a router    
-    set <name>         Update properties of a router               
-    del <name>         Delete a router from the inventory          
-    port               Manage ports on a router                    
+    summary            Show a hardware report for all routers       
+    add <name>         Add a new network router to the inventory    
+    list               List all routers in the system               
+    get <name>         Retrieve details of a specific router by name
+    describe <name>    Show detailed information about a router     
+    set <name>         Update properties of a router                
+    del <name>         Delete a router from the inventory           
+    port               Manage ports on a router                     
 ```
 
 ## `rpk routers summary`
@@ -848,15 +841,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all firewalls    
-    add <name>         Add a new firewall to the inventory         
-    list               List all firewalls in the system            
-    get <name>         Retrieve details of a specific firewall by  
-                       name                                        
-    describe <name>    Show detailed information about a firewall  
-    set <name>         Update properties of a firewall             
-    del <name>         Delete a firewall from the inventory        
-    port               Manage ports on a firewall                  
+    summary            Show a hardware report for all firewalls       
+    add <name>         Add a new firewall to the inventory            
+    list               List all firewalls in the system               
+    get <name>         Retrieve details of a specific firewall by name
+    describe <name>    Show detailed information about a firewall     
+    set <name>         Update properties of a firewall                
+    del <name>         Delete a firewall from the inventory           
+    port               Manage ports on a firewall                     
 ```
 
 ## `rpk firewalls summary`
@@ -1184,14 +1176,13 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a hardware report for all access points
-    add <name>         Add a new access point                      
-    list               List all access points                      
-    get <name>         Retrieve an access point by name            
-    describe <name>    Show detailed information about an access   
-                       point                                       
-    set <name>         Update properties of an access point        
-    del <name>         Delete an access point                      
+    summary            Show a hardware report for all access points   
+    add <name>         Add a new access point                         
+    list               List all access points                         
+    get <name>         Retrieve an access point by name               
+    describe <name>    Show detailed information about an access point
+    set <name>         Update properties of an access point           
+    del <name>         Delete an access point                         
 ```
 
 ## `rpk accesspoints summary`
@@ -1429,20 +1420,18 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <name>         Add a new desktop                           
-    list               List all desktops                           
-    get <name>         Retrieve a desktop by name                  
-    describe <name>    Show detailed information about a desktop   
-    set <name>         Update properties of a desktop              
-    del <name>         Delete a desktop from the inventory         
-    summary            Show a summarized hardware report for all   
-                       desktops                                    
-    tree <name>        Display the dependency tree for a desktop   
-    cpu                Manage CPUs attached to desktops            
-    drive              Manage storage drives attached to desktops  
-    gpu                Manage GPUs attached to desktops            
-    nic                Manage network interface cards (NICs) for   
-                       desktops                                    
+    add <name>         Add a new desktop                                 
+    list               List all desktops                                 
+    get <name>         Retrieve a desktop by name                        
+    describe <name>    Show detailed information about a desktop         
+    set <name>         Update properties of a desktop                    
+    del <name>         Delete a desktop from the inventory               
+    summary            Show a summarized hardware report for all desktops
+    tree <name>        Display the dependency tree for a desktop         
+    cpu                Manage CPUs attached to desktops                  
+    drive              Manage storage drives attached to desktops        
+    gpu                Manage GPUs attached to desktops                  
+    nic                Manage network interface cards (NICs) for desktops
 ```
 
 ## `rpk desktops add`
@@ -1661,7 +1650,7 @@ ARGUMENTS:
 OPTIONS:
     -h, --help    Prints help information     
         --type    The drive type e.g hdd / ssd
-        --size    The drive capacity in Gb    
+        --size    The drive capacity in GB    
 ```
 
 ## `rpk desktops drive set`
@@ -1836,38 +1825,37 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops`
+## `rpk laptops`
 ```
 DESCRIPTION:
 Manage Laptop computers and their components
 
 USAGE:
-    rpk Laptops [OPTIONS] <COMMAND>
+    rpk laptops [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <name>         Add a new Laptop                            
-    list               List all Laptops                            
-    get <name>         Retrieve a Laptop by name                   
-    describe <name>    Show detailed information about a Laptop    
-    del <name>         Delete a Laptop from the inventory          
-    summary            Show a summarized hardware report for all   
-                       Laptops                                     
-    tree <name>        Display the dependency tree for a Laptop    
-    cpu                Manage CPUs attached to Laptops             
-    drive              Manage storage drives attached to Laptops   
-    gpu                Manage GPUs attached to Laptops             
+    add <name>         Add a new Laptop                                 
+    list               List all Laptops                                 
+    get <name>         Retrieve a Laptop by name                        
+    describe <name>    Show detailed information about a Laptop         
+    del <name>         Delete a Laptop from the inventory               
+    summary            Show a summarized hardware report for all Laptops
+    tree <name>        Display the dependency tree for a Laptop         
+    cpu                Manage CPUs attached to Laptops                  
+    drives             Manage storage drives attached to Laptops        
+    gpu                Manage GPUs attached to Laptops                  
 ```
 
-## `rpk Laptops add`
+## `rpk laptops add`
 ```
 DESCRIPTION:
 Add a new Laptop
 
 USAGE:
-    rpk Laptops add <name> [OPTIONS]
+    rpk laptops add <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1876,25 +1864,25 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops list`
+## `rpk laptops list`
 ```
 DESCRIPTION:
 List all Laptops
 
 USAGE:
-    rpk Laptops list [OPTIONS]
+    rpk laptops list [OPTIONS]
 
 OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops get`
+## `rpk laptops get`
 ```
 DESCRIPTION:
 Retrieve a Laptop by name
 
 USAGE:
-    rpk Laptops get <name> [OPTIONS]
+    rpk laptops get <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1903,13 +1891,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops describe`
+## `rpk laptops describe`
 ```
 DESCRIPTION:
 Show detailed information about a Laptop
 
 USAGE:
-    rpk Laptops describe <name> [OPTIONS]
+    rpk laptops describe <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1918,13 +1906,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops del`
+## `rpk laptops del`
 ```
 DESCRIPTION:
 Delete a Laptop from the inventory
 
 USAGE:
-    rpk Laptops del <name> [OPTIONS]
+    rpk laptops del <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1933,25 +1921,25 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops summary`
+## `rpk laptops summary`
 ```
 DESCRIPTION:
 Show a summarized hardware report for all Laptops
 
 USAGE:
-    rpk Laptops summary [OPTIONS]
+    rpk laptops summary [OPTIONS]
 
 OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops tree`
+## `rpk laptops tree`
 ```
 DESCRIPTION:
 Display the dependency tree for a Laptop
 
 USAGE:
-    rpk Laptops tree <name> [OPTIONS]
+    rpk laptops tree <name> [OPTIONS]
 
 ARGUMENTS:
     <name>     
@@ -1960,13 +1948,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops cpu`
+## `rpk laptops cpu`
 ```
 DESCRIPTION:
 Manage CPUs attached to Laptops
 
 USAGE:
-    rpk Laptops cpu [OPTIONS] <COMMAND>
+    rpk laptops cpu [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
@@ -1977,13 +1965,13 @@ COMMANDS:
     del <Laptop> <index>    Remove a CPU from a Laptop
 ```
 
-## `rpk Laptops cpu add`
+## `rpk laptops cpu add`
 ```
 DESCRIPTION:
 Add a CPU to a Laptop
 
 USAGE:
-    rpk Laptops cpu add <Laptop> [OPTIONS]
+    rpk laptops cpu add <Laptop> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name
@@ -1995,13 +1983,13 @@ OPTIONS:
         --threads    The number of cpu threads
 ```
 
-## `rpk Laptops cpu set`
+## `rpk laptops cpu set`
 ```
 DESCRIPTION:
 Update a Laptop CPU
 
 USAGE:
-    rpk Laptops cpu set <Laptop> <index> [OPTIONS]
+    rpk laptops cpu set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name            
@@ -2014,13 +2002,13 @@ OPTIONS:
         --threads    The number of cpu threads
 ```
 
-## `rpk Laptops cpu del`
+## `rpk laptops cpu del`
 ```
 DESCRIPTION:
 Remove a CPU from a Laptop
 
 USAGE:
-    rpk Laptops cpu del <Laptop> <index> [OPTIONS]
+    rpk laptops cpu del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop               
@@ -2030,47 +2018,47 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops drive`
+## `rpk laptops drives`
 ```
 DESCRIPTION:
 Manage storage drives attached to Laptops
 
 USAGE:
-    rpk Laptops drive [OPTIONS] <COMMAND>
+    rpk laptops drives [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    add <Laptop>            Add a drive to a Laptop     
+    add <laptop>            Add a drive to a Laptop     
     set <Laptop> <index>    Update a Laptop drive       
     del <Laptop> <index>    Remove a drive from a Laptop
 ```
 
-## `rpk Laptops drive add`
+## `rpk laptops drives add`
 ```
 DESCRIPTION:
 Add a drive to a Laptop
 
 USAGE:
-    rpk Laptops drive add <Laptop> [OPTIONS]
+    rpk laptops drives add <laptop> [OPTIONS]
 
 ARGUMENTS:
-    <Laptop>    The name of the Laptop
+    <laptop>    The name of the Laptop
 
 OPTIONS:
     -h, --help    Prints help information     
         --type    The drive type e.g hdd / ssd
-        --size    The drive capacity in Gb    
+        --size    The drive capacity in GB:   
 ```
 
-## `rpk Laptops drive set`
+## `rpk laptops drives set`
 ```
 DESCRIPTION:
 Update a Laptop drive
 
 USAGE:
-    rpk Laptops drive set <Laptop> <index> [OPTIONS]
+    rpk laptops drives set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name          
@@ -2082,13 +2070,13 @@ OPTIONS:
         --size    The drive capacity in Gb    
 ```
 
-## `rpk Laptops drive del`
+## `rpk laptops drives del`
 ```
 DESCRIPTION:
 Remove a drive from a Laptop
 
 USAGE:
-    rpk Laptops drive del <Laptop> <index> [OPTIONS]
+    rpk laptops drives del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop          
@@ -2098,13 +2086,13 @@ OPTIONS:
     -h, --help    Prints help information
 ```
 
-## `rpk Laptops gpu`
+## `rpk laptops gpu`
 ```
 DESCRIPTION:
 Manage GPUs attached to Laptops
 
 USAGE:
-    rpk Laptops gpu [OPTIONS] <COMMAND>
+    rpk laptops gpu [OPTIONS] <COMMAND>
 
 OPTIONS:
     -h, --help    Prints help information
@@ -2115,13 +2103,13 @@ COMMANDS:
     del <Laptop> <index>    Remove a GPU from a Laptop
 ```
 
-## `rpk Laptops gpu add`
+## `rpk laptops gpu add`
 ```
 DESCRIPTION:
 Add a GPU to a Laptop
 
 USAGE:
-    rpk Laptops gpu add <Laptop> [OPTIONS]
+    rpk laptops gpu add <Laptop> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The name of the Laptop
@@ -2132,13 +2120,13 @@ OPTIONS:
         --vram     The amount of gpu vram in Gb
 ```
 
-## `rpk Laptops gpu set`
+## `rpk laptops gpu set`
 ```
 DESCRIPTION:
 Update a Laptop GPU
 
 USAGE:
-    rpk Laptops gpu set <Laptop> <index> [OPTIONS]
+    rpk laptops gpu set <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name               
@@ -2150,13 +2138,13 @@ OPTIONS:
         --vram     The amount of gpu vram in Gb
 ```
 
-## `rpk Laptops gpu del`
+## `rpk laptops gpu del`
 ```
 DESCRIPTION:
 Remove a GPU from a Laptop
 
 USAGE:
-    rpk Laptops gpu del <Laptop> <index> [OPTIONS]
+    rpk laptops gpu del <Laptop> <index> [OPTIONS]
 
 ARGUMENTS:
     <Laptop>    The Laptop name               
@@ -2178,15 +2166,14 @@ OPTIONS:
     -h, --help    Prints help information
 
 COMMANDS:
-    summary            Show a summary report for all services      
-    add <name>         Add a new service                           
-    list               List all services                           
-    get <name>         Retrieve a service by name                  
-    describe <name>    Show detailed information about a service   
-    set <name>         Update properties of a service              
-    del <name>         Delete a service                            
-    subnets            List subnets associated with a service,     
-                       optionally filtered by CIDR                 
+    summary            Show a summary report for all services                             
+    add <name>         Add a new service                                                  
+    list               List all services                                                  
+    get <name>         Retrieve a service by name                                         
+    describe <name>    Show detailed information about a service                          
+    set <name>         Update properties of a service                                     
+    del <name>         Delete a service                                                   
+    subnets            List subnets associated with a service, optionally filtered by CIDR
 ```
 
 ## `rpk services summary`

+ 2 - 2
generate-docs.sh

@@ -197,12 +197,12 @@ generate_help_recursive ""
 {
   echo ""
   cat "$TREE_TEMP"
-} > "docs/CommandIndex.md"
+} > "Shared.Rcl/wwwroot/raw_docs/CommandIndex.md"
 
 {
   echo "# CLI Commands"
   echo ""
   cat "$BODY_TEMP"
-} > "docs/Commands.md"
+} > "Shared.Rcl/wwwroot/raw_docs/Commands.md"
 
 echo "Generated Successfully."