(usrCfg *viper.Viper, flags *pflag.FlagSet)
| 147 | } |
| 148 | |
| 149 | func newSubmitCmdContext(usrCfg *viper.Viper, flags *pflag.FlagSet) *submitCmdContext { |
| 150 | return &submitCmdContext{ |
| 151 | usrCfg: usrCfg, |
| 152 | flags: flags, |
| 153 | validator: submitValidator{usrCfg: usrCfg}, |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | // evaluatedSymlinks returns the submit paths with evaluated symlinks. |
| 158 | func (s *submitCmdContext) evaluatedSymlinks(submitPaths []string) ([]string, error) { |