1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Removed custom value parsing logic

This commit is contained in:
Mike Farah
2020-01-20 08:42:08 +11:00
parent 8a65822b0b
commit 1a4d8158ba
6 changed files with 16 additions and 40 deletions

View File

@@ -1,10 +1,11 @@
package cmd
import (
"strings"
"github.com/mikefarah/yq/v3/pkg/yqlib"
errors "github.com/pkg/errors"
"github.com/spf13/cobra"
"strings"
)
func createMergeCmd() *cobra.Command {

View File

@@ -1,9 +1,10 @@
package cmd
import (
"os"
"github.com/spf13/cobra"
logging "gopkg.in/op/go-logging.v1"
"os"
)
func New() *cobra.Command {

View File

@@ -3,14 +3,15 @@ package cmd
import (
"bufio"
"fmt"
"github.com/mikefarah/yq/v3/pkg/yqlib"
errors "github.com/pkg/errors"
"github.com/spf13/cobra"
yaml "gopkg.in/yaml.v3"
"io"
"io/ioutil"
"os"
"strconv"
"github.com/mikefarah/yq/v3/pkg/yqlib"
errors "github.com/pkg/errors"
"github.com/spf13/cobra"
yaml "gopkg.in/yaml.v3"
)
func readYamlFile(filename string, path string, updateAll bool, docIndexInt int) ([]*yqlib.NodeContext, error) {