Skip to content

CLI #99 — Add an update check that notifies users of a newer CLI version #492

@Tinna23

Description

@Tinna23

Task

On startup, asynchronously check npm for a newer version of @stellar-explain/cli and print a notice if one is available. Must not block the command.

Files to create

packages/cli/src/lib/updateCheck.ts

Files to update

packages/cli/src/index.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCLI package (packages/cli/)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions