You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nodejsCommand.Flags().StringVarP(&version, "version", "v", "", "Which version to install")
110
-
nodejsCommand.Flags().StringVarP(&fromFile, "from-file", "r", "", "Reads the version to be installed from a file. Either specify the filename or if empty it will try to read from .nvmrc file.")
111
-
nodejsCommand.MarkFlagFilename("from-file")
112
-
rootCmd.AddCommand(nodejsCommand)
114
+
downloadCommand.Flags().StringVarP(&version, "version", "v", "", "Which version to install")
115
+
downloadCommand.Flags().StringVarP(&fromFile, "from-file", "r", "", "Reads the version to be installed from a file. Either specify the filename or if empty it will try to read from .nvmrc file.")
0 commit comments