docs: describe --yes as it works today #34

Open
opened 2026-11-21 11:15:06 +01:00 by michael · 0 comments
Owner

Problem

The flag --yes is not described by what it does today.

  • config/ui/contribution.json declares --yes for remove ("confirm the
    removal") and for install ("skip confirmation").
  • Only remove evaluates it (commands.lua, cmd_remove: opts.confirmed).
    cmd_install reads --upgrade only, so --yes has no effect on install.
  • The README describes confirmed as an API option, but not the command line
    flag.

Scope

  • README: describe --yes as it works today (confirms a removal in
    non-interactive use; --with-dependents is separate)
  • contribution.json: the help text of each declared --yes says what it does
  • open: the --yes declaration of install has no effect; whether it is
    removed or later gets a meaning is not decided here
  • no new behaviour in this issue

Acceptance criteria

  • README and help texts match the code
  • the open point on install is decided and recorded in this issue
  • no change of behaviour

Technical notes

  • batch use in general (confirmations for other statuses such as upgrade_required) is not part of this issue; see DAW/daw-module-manager#24 for the question protocol
## Problem The flag `--yes` is not described by what it does today. - `config/ui/contribution.json` declares `--yes` for `remove` ("confirm the removal") and for `install` ("skip confirmation"). - Only `remove` evaluates it (`commands.lua`, `cmd_remove`: `opts.confirmed`). `cmd_install` reads `--upgrade` only, so `--yes` has no effect on `install`. - The README describes `confirmed` as an API option, but not the command line flag. ## Scope - README: describe `--yes` as it works today (confirms a removal in non-interactive use; `--with-dependents` is separate) - `contribution.json`: the help text of each declared `--yes` says what it does - open: the `--yes` declaration of `install` has no effect; whether it is removed or later gets a meaning is not decided here - no new behaviour in this issue ## Acceptance criteria - [ ] README and help texts match the code - [ ] the open point on `install` is decided and recorded in this issue - [ ] no change of behaviour ## Technical notes - batch use in general (confirmations for other statuses such as `upgrade_required`) is not part of this issue; see DAW/daw-module-manager#24 for the question protocol
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/daw-module-manager#34
No description provided.