Skip to content

Commit

Permalink
logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan-Zamfir committed May 27, 2024
1 parent e5f58f9 commit ff72c19
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cli/standardise.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cli

import (
// "github.com/Aidan-Zamfir/normalizer/csvData"
"github.com/spf13/cobra"
)

Expand All @@ -9,7 +10,15 @@ var standardiseCmd = &cobra.Command{
Short: "Will return standardised values as X file form", //decide
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
// - arg MUST be file path to csv file.
// - this func calls a parser method to convert file passed in
// - based on user, will nm or stand data
// - return new data file



//Call parser method first-> then pass into Stnd func
// data := csvData.GetCSVData(args) ?? or qFrame?

// result := data.Standardise(args)
// fmt.Println(result)
Expand Down

0 comments on commit ff72c19

Please sign in to comment.