Add static Bash completion with argcomplete

This commit is contained in:
mdaleo404 committed 2026-10-02 15:41:10 +01:00
1 parent beb16e5be3
commit a73c09cc9b
7 files changed
+95 -6

No files matched your search

+13
View File
@@ -33,6 +33,19 @@ Global options may appear before the command. `--user`/`--system`,
`--json` is intended for scripts. It prints one document on stdout and sends
diagnostics to stderr; no ANSI escapes are emitted.
## Bash completion
Completion is opt-in. After installing schedls, enable it for the current Bash
session with:
```bash
eval "$(register-python-argcomplete schedls)"
```
Add the command to your shell profile to enable it in future sessions. It
completes schedls subcommands, options, and option choices without discovering
schedules.
## Commands
### `list`
+2 -2
View File
@@ -108,8 +108,8 @@ removes whatever it had already written.
### Supply chain
Runtime dependencies are zero. Development dependencies are locked and audited
in CI.
The sole runtime dependency is `argcomplete`, which provides opt-in shell
completion. Development dependencies are locked and audited in CI.
## Availability, privacy