From 9a14630623db5d4287ecbea3898fbceffdc8a973 Mon Sep 17 00:00:00 2001 From: Aditya Ramani Date: Tue, 1 Jul 2025 08:12:21 -0700 Subject: [PATCH] Docs for shell completion (#275) Closes https://github.com/apple/container/issues/93 Signed-off-by: Aditya Ramani --- docs/how-to.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/how-to.md b/docs/how-to.md index 84d89f89..b5ae13f9 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -251,3 +251,9 @@ The `container system logs` command allows you to look at the log messages that 2025-06-02 16:46:12.368723-0700 0xf6e93 Info 0x0 61684 0 container-apiserver: [com.apple.container:APIServer] Handling container my-web-server Start. % + +## Setup shell completion + +The `container --generate-completion-script [zsh|bash|fish]` command generates completion scripts for the provided shell. + +A detailed guide on how to install the completion scripts can be found [here](https://swiftpackageindex.com/apple/swift-argument-parser/1.5.1/documentation/argumentparser/installingcompletionscripts)