Skip to content

Add run-template:clone command (disabled by default) #57

Closed

Description

@Vitexus

Request

Add CLI parity for the web UI's RunTemplate clone action: a run-template:clone command that copies a template's config, saved env values, and credential assignments into a new RunTemplate.

Per the underlying bug (web clone copied active verbatim from the source, letting a cloned-and-not-yet-reviewed template be scheduled — VitexSoftware/multiflexi-web#8), the CLI clone must also always create the new RunTemplate disabled.

Fix

Add RunTemplate::cloneAs() in core (always sets active=false) and a run-template:clone --id=<id> [--name=<name>] command that uses it.

Fixed by: #56
Depends on core: VitexSoftware/php-vitexsoftware-multiflexi-core#53
Docs: VitexSoftware/multiflexi-doc-en#7

For SpojeNetIT.

Activity

  1. Vitexus commented on Aug 12, 2026

    @Vitexus
    MemberAuthor

    Fixed by #56 (merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions