You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -844,6 +845,98 @@ To reset slic to the default PHP version (7.4):
844
845
slic php-version reset
845
846
```
846
847
848
+
### Shell Completion
849
+
850
+
`slic` provides tab completion for bash, zsh, and fish shells. This makes it faster to use `slic` by allowing you to press Tab to autocomplete commands, targets, branches, and options.
851
+
852
+
#### Quick Installation
853
+
854
+
The easiest way to set up completions is:
855
+
856
+
```bash
857
+
slic completion install
858
+
```
859
+
860
+
This auto-detects your shell and installs the appropriate completion script. You'll be prompted to confirm before any files are modified.
861
+
862
+
#### What Gets Completed
863
+
864
+
Once installed, you can tab-complete:
865
+
866
+
-**Commands**: `slic <TAB>` shows all available commands
867
+
-**Targets**: `slic use <TAB>` shows all valid plugins/themes
Copy file name to clipboardExpand all lines: changelog.md
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,25 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
### Changed
10
10
- Breaking Change - The `slic here` command will now create a new stack for the current path instead of changing the context of the previously only stack to the path.
11
11
- Breaking Change - The `XDK` configuration variable (`slic` by default) is now used as **root** for each stack IDE key. An `XDK` of `slic` will create stack IDE keys like `slic_<stack_hash>` and not just `slic` as it was before.
12
+
- Extend `-y, --yes` flag support for all commands that might require confirmation
12
13
13
14
### Added
14
-
- Multi-path support with a 1:1 mapping between stacks and paths.
15
-
- Interactive Terminal User Interface (TUI) for the `slic use` command. Running `slic use` without arguments now opens an interactive selection menu with fuzzy search and current selection indicator.
15
+
- Multiple, isolated Docker Compose projects per path
16
16
- Git worktree multi-stack support for concurrent development workflows
17
-
- New `slic worktree` command with subcommands:
18
-
-`slic worktree add <branch>` - Create a new git worktree with dedicated stack
19
-
-`slic worktree list` - List all worktrees and their stacks
20
-
-`slic worktree remove <branch>` - Remove a worktree and its stack
21
-
-`slic worktree sync` - Synchronize git worktrees with slic registry
22
-
- Automatic worktree detection and registration prompts
23
-
- Isolated Docker Compose projects per worktree with unique XDebug ports
-`slic stack list` command to display all registered stacks with their status, target paths, and ports
26
-
-`slic stack stop [<stack>]` command to stop a specific stack. If no stack is provided and multiple exist, prompts user to choose one
27
-
-`slic stack stop all` command to stop all registered stacks at once. Always prompts for confirmation, shows list of stacks being stopped, continues even if one stack fails, and displays comprehensive summary with success/failure counts. Works from any directory
28
-
-`slic stack info [<stack>]` command to display detailed information about a specific stack including container status, ports, and configuration
29
-
- Global `--stack=<path>` flag to target specific stacks. This allows running commands against any registered stack without changing the current working directory
30
-
-`-y, --yes` flag support for `slic stack stop all` command to skip confirmation prompt, enabling use in non-interactive environments like CI pipelines and automation scripts
17
+
- New `slic worktree` command leveraging dedicated stacks for each worktree
18
+
- Interactive Terminal User Interface (TUI) for the `slic use` command. Running `slic use` without arguments now opens an interactive selection menu with fuzzy search and current selection indicator.
19
+
- New `slic completion` command with subcommands to install bash/zsh/fish completions
20
+
- Shell completion support for bash, zsh, and fish shells with dynamic completions for commands, targets, git branches, stack paths, and options
31
21
32
22
# [2.1.2] - 2025-11-13
33
23
- Change - GitHub Actions workflows now use native ARM64 runners (`ubuntu-24.04-arm`) instead of QEMU emulation for multi-platform builds, to reduce build times.
0 commit comments