Skip to content

Add self-update command #18

@dominosaurs

Description

@dominosaurs

Description

Currently, to update phpvm to the latest version, users have to manually pull the latest changes or rerun the installation script. Adding a built-in self-update command would streamline this process and ensure users are always running the latest stable release with minimal friction.

Feature Details

Just a simple self-update command, and will print the latest version when it finished. Example:

$ phpvm self-update
Updating phpvm...
phpvm successfully updated to the latest version: v1.12.0.

$ phpvm self-update
You are already on the latest version: v1.12.0.

Additional Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions