Merge remote-tracking branch 'origin/v3-dev-main' into v3-porting

This commit is contained in:
2022-10-02 20:16:11 -04:00
22 changed files with 30 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"syscall"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// FlagInputSourceExtension is an extension interface of cli.Flag that

View File

@@ -5,7 +5,7 @@ package altsrc
import (
"flag"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// BoolFlag is the flag type that wraps cli.BoolFlag to allow

View File

@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
type testApplyInputSource struct {

View File

@@ -3,7 +3,7 @@ package altsrc
import (
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// InputSourceContext is an interface used to allow

View File

@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
const (

View File

@@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// NewJSONSourceFromFlagFunc returns a func that takes a cli.Context

View File

@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// MapInputSource implements InputSourceContext to return

View File

@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
func TestCommandTomFileTest(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"reflect"
"github.com/BurntSushi/toml"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
type tomlMap struct {

View File

@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
func TestCommandYamlFileTest(t *testing.T) {

View File

@@ -9,7 +9,7 @@ import (
"runtime"
"strings"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
"gopkg.in/yaml.v3"
)

View File

@@ -6,8 +6,8 @@ import (
"os"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v2/altsrc"
"github.com/urfave/cli/v3"
"github.com/urfave/cli/v3/altsrc"
)
func ExampleApp_Run_yamlFileLoaderDuration() {