file

in lib/twurl/cli.rb [306:316]


      def file
        on('-f', '--file [path_to_file]', 'Specify the path to the file to upload') do |file|
          if File.file?(file)
            options.upload['file'] << file
          else
            CLI.puts "ERROR: File not found"
            exit
          end
        end
      end