Skip to content

CLI support for the devtools sync feature - #6756

Merged
dtdesign merged 3 commits into
6.3from
63-devtools-cli-sync
Nov 1, 2026
Merged

dtdesign merged 3 commits into
6.3from
63-devtools-cli-sync

Conversation

@dtdesign

@dtdesign dtdesign commented Nov 1, 2026

Copy link
Copy Markdown
Member

This PR adds a non-interactive CLI file to sync all or some PIPs of a devtools project.

Usage: php devtools.php <command> [options]

Commands:
  projects
      List the projects as their ID, name and path.

  targets --project=<project> [--pip=<pip>]
      List the targets of all PIPs or of a single PIP.

  sync --project=<project> --all
      Sync all PIPs in the order of their dependencies, followed by
      the package version. Unsafe PIPs are never synced.

  sync --project=<project> --pip=<pip> [--target=<target>] [--allow-unsafe]
      Sync all targets or a single target of a PIP. Unsafe PIPs
      require --allow-unsafe.

<project> is the ID, the path or the name of the project, or the
identifier of its package. A path must contain a '/' or be '.'.

Exit codes: 0 on success, 1 on failure, 2 on invalid arguments.

@dtdesign dtdesign moved this to Minor Task in WoltLab Suite 6.3 Nov 1, 2026
@dtdesign
dtdesign merged commit aee1b51 into 6.3 Nov 1, 2026
7 checks passed
@dtdesign
dtdesign deleted the 63-devtools-cli-sync branch November 1, 2026 19:31
@github-project-automation github-project-automation Bot moved this from Minor Task to Done in WoltLab Suite 6.3 Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant