Skip to content

Add commands for checking for upgrade and upgrading src CLI in place #180

@ryan-blunden

Description

@ryan-blunden

As a starting point, I like @slimsag 's suggestion from #18 (comment):

src update check -> checks for updates, doesn't apply them.
src update -> checks for updates, self-applies them. Will prompt for root/admin privileges.

I also liked @felixfbecker's suggestion of having a prompt to let the user know there is an upgrade available (screenshot taken from https://www.npmjs.com/package/update-notifier), but add logic so this is only displayed once per day, not on every invocation.

Screen Shot 2020-04-22 at 9 15 17 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions