Skip to content

Fix latest flag on Windows #112

@digitalghost-dev

Description

@digitalghost-dev

When running poke-cli -l | --latest on Windows, an error will occur because the command is attempting to run bash.

By importing the runtime library and checking the GOOS, the new latestDockerImage() can run either a PowerShell or Bash script to get this information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/fixSomething isn't working or needs updating.

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions