checkoutΒΆ

  • Alias: checkout
  • Task: Maestro\Extension\Vcs\Task\CheckoutTask
  • Handler: Maestro\Extension\Vcs\Task\CheckoutHandler
  • Arguments:
    • url (string)

Checkout a repository from a VCS system (currently limited to GIT) onto the current workspace.

Warning

Internal task. This is task is when initializing a package internally. It would make no sense to use this task in your plan.

{
    "nodes": {
        "example/package": {
            "type": "package",
            "args": {
                "name": "example/package"
            },
            "nodes": {
                "composer json": {
                    "type": "json_file",
                    "args": {
                        "targetPath": "composer.json",
                        "data": {
                            "require": {
                                "psr/log": "^1.0"
                            },
                            "require-dev": {
                                "phpunit/phpunit": "^8.0"
                            }
                        }
                    }
                }
            }
        }
    }
}