diff --git a/cmd/flags.go b/cmd/flags.go index 904ec6f..0b3e3c8 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -11,10 +11,6 @@ var ( SourceFlag *flag.FlagSet UpdateInitBool bool HelpFlag *bool - SPath string - DPath string - RemovePath string - ConfigPath string ) // Setup the Flags for the CLI @@ -28,13 +24,7 @@ func CreateFlags() { InitFlag = flag.NewFlagSet("init", flag.ExitOnError) SourceFlag = flag.NewFlagSet("source", flag.ExitOnError) - AddFlag.StringVar(&SPath, "source", "", "Source path for the file to symlink") - AddFlag.StringVar(&DPath, "destination", "", "(Optional) Destination for symlink") - - RemoveFlag.StringVar(&RemovePath, "path", "", "Path to remove symlink") - + // Create a -u, --update flag for init subcommand to call UpdateInit function InitFlag.BoolVar(&UpdateInitBool, "u", false, "Update just the Init Directory variable on config") InitFlag.BoolVar(&UpdateInitBool, "update", false, "Update just the Init Directory variable on config") - - SourceFlag.StringVar(&ConfigPath, "path", "", "Path to config file to source") }