Reviewed-on: #8 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
23 lines
348 B
Go
23 lines
348 B
Go
package main
|
|
|
|
import "fmt"
|
|
import "os"
|
|
|
|
const VERSION = "0.4.101"
|
|
|
|
func main() {
|
|
fmt.Println("clean_file")
|
|
args := os.Args
|
|
|
|
if len(args) < 2 {
|
|
fmt.Println("Invalid arguments provided")
|
|
os.Exit(-1)
|
|
}
|
|
|
|
filepath := args[1]
|
|
|
|
fmt.Println("File path:", filepath)
|
|
// TODO: Create parser package and Parser struct to do the remaining
|
|
// work
|
|
}
|