Skip to content

PAP-7015 Adds workbench --init command for setup#16

Merged
aboo merged 2 commits into
mainfrom
feature/pap-7015-initialisation
Apr 1, 2026
Merged

PAP-7015 Adds workbench --init command for setup#16
aboo merged 2 commits into
mainfrom
feature/pap-7015-initialisation

Conversation

@aboo
Copy link
Copy Markdown
Contributor

@aboo aboo commented Apr 1, 2026

Introduces a new workbench --init command to streamline the initial setup of a workbench repository. This command provides a guided process for users to:

  • Fork the template repository to their GitHub account or organization
  • Clone the repository locally, creating a new workbench directory
  • Optionally, proceed directly to the workbench setup wizard for configuring code and resource repositories

The new command supports both interactive (TUI) and non-interactive modes, accepting CLI arguments for various parameters such as target organization, project name, and whether to skip forking. Extensive documentation and help messages have been updated to reflect these new capabilities.

Relates to PAP-7015, PAP-7020

aboo added 2 commits April 1, 2026 14:16
Introduces the --init flag to automate forking and cloning the workbench repository. This adds an interactive TUI flow for selecting organizations and naming projects, alongside a non-interactive mode for headless setup.
Refactors the initialization flow to use `gh repo fork --clone`, enabling real-time progress output within the TUI instead of a static spinner. This update also adds support for personal GitHub accounts, optimizes cloning with `--single-branch`, and automatically changes the working directory to the newly created project folder upon completion.
@aboo aboo merged commit ac27e58 into main Apr 1, 2026
1 check passed
@aboo aboo deleted the feature/pap-7015-initialisation branch April 1, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant