dotnet-evergreen 1.1.0

dotnet tool install --global dotnet-evergreen --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-evergreen --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-evergreen&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-evergreen --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Icon dotnet-evergreen

Version Downloads License Build

A dotnet global tool runner that automatically updates the tool package before running it, checks for updates while it runs, and restarts the tool as needed after updating it.

dotnet evergreen
  Run an evergreen version of a tool

Usage:
  dotnet evergreen [options] [<tool> [<args>...]]

Arguments:
  <tool>  Package Id of tool to run.
  <args>  Additional arguments and options supported by the tool

Options:
  -s, --source <source>      NuGet feed to check for updates. [default: https://api.nuget.org/v3/index.json]
  --singleton                Ensure a single tool process is running.
  -i, --interval <interval>  Time interval in seconds for the update checks. [default: 5]
  -f, --force                Stop all running tool processes to apply updates. [default: True]
  -q, --quiet                Do not display any informational messages.
  -?, -h, --help             Show help and usage information
  --version                  Show version information

Features:

  • Automatically exits if the tool also runs to completion

  • Forwards exit code from the tool

  • Restarts tool as needed to apply updates

  • Stops all other tool running processes so updating succeeds (can be opted out with -f=false)

  • Ensures a single tool is running (--singleton option)

  • Passes all tool options verbatim (except for evergreen options, specified before the tool argument)

  • Automatically discovers tool command when it doesn't match the tool package id (i.e. dotnet-eventgrid > eventgrid).

  • Supports dotnetconfig for options. Example:

    [evergreen]
      interval = 5
      source = https://myfeed.com/index.json 
      singleton = true
    

Examples:

> dotnet evergreen dotnet-echo
> dotnet evergreen dotnet-tor

Sponsors

sponsored clariusclarius

get mentioned here too!

This package has no dependencies.

Version Downloads Last updated
1.1.0 76 8/18/2021
1.0.4 71 8/17/2021
1.0.3 111 7/24/2021
1.0.2 121 7/24/2021
1.0.1 80 7/21/2021
1.0.0 94 7/21/2021