Skip to content

Commit

Permalink
Rename csv-digest to csvdiff
Browse files Browse the repository at this point in the history
  • Loading branch information
aswinkarthik committed Apr 15, 2018
1 parent dff98e4 commit 033bb79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var cfgFile string

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "csv-diff",
Use: "csvdiff",
Short: "A CSV diff tool",
Long: "Differentiates two csv files and finds out the additions and modifications",
// Uncomment the following line if your bare application
Expand All @@ -57,7 +57,7 @@ func init() {
// Here you will define your flags and configuration settings.
// Cobra supports persistent flags, which, if defined here,
// will be global for your application.
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.csv-digest.yaml)")
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.csvdiff.yaml)")

// Cobra also supports local flags, which will only run
// when this action is called directly.
Expand All @@ -77,9 +77,9 @@ func initConfig() {
os.Exit(1)
}

// Search config in home directory with name ".csv-digest" (without extension).
// Search config in home directory with name ".csvdiff" (without extension).
viper.AddConfigPath(home)
viper.SetConfigName(".csv-digest")
viper.SetConfigName(".csvdiff")
}

viper.AutomaticEnv() // read in environment variables that match
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"os"
"sync"

"github.com/aswinkarthik93/csv-digest/pkg/digest"
"github.com/aswinkarthik93/csvdiff/pkg/digest"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

package main

import "github.com/aswinkarthik93/csv-digest/cmd"
import "github.com/aswinkarthik93/csvdiff/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 033bb79

Please sign in to comment.