From a1164d396c54c8a7a3d17746b12c6e62816ed344 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:08:50 +0000 Subject: Refactor CLI to use subcommands for better semantics Co-authored-by: tranch <5999732+tranch@users.noreply.github.com> --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 53f0122..390f529 100644 --- a/README.md +++ b/README.md @@ -17,23 +17,38 @@ A local mirror version of the Decky Installer for Steam Deck. This repository al 2. Place the downloaded file in a convenient location on your Steam Deck. 3. Run the script or launch the desktop file to start the Decky Installer. +### Command Structure + +The `decky_client.py` script uses subcommands for different operations: + +```bash +# Install a plugin (default operation) +python3 decky_client.py install [options] + +# Configure custom store URL +python3 decky_client.py configure-store + +# Get configured store URL +python3 decky_client.py get-store +``` + ### Custom Store Configuration The installer now supports configuring custom plugin store URLs: #### Configure a Custom Store URL ```bash -python3 decky_client.py --configure-store "https://your-custom-store.com/plugins" +python3 decky_client.py configure-store "https://your-custom-store.com/plugins" ``` #### Get the Currently Configured Store URL ```bash -python3 decky_client.py --get-store +python3 decky_client.py get-store ``` #### Install from a Custom Store ```bash -python3 decky_client.py --target-id 42 --store-url "https://your-custom-store.com/plugins" +python3 decky_client.py install --target-id 42 --store-url "https://your-custom-store.com/plugins" ``` ## Mock Server for Testing @@ -47,7 +62,7 @@ python3 mock_decky_server.py --auto-confirm ### Test with the Mock Server ```bash -python3 decky_client.py --target-id 42 +python3 decky_client.py install --target-id 42 ``` The mock server implements the following Decky Loader backend routes: -- cgit v1.2.3