code: def file_upload(context, id, path):
      
      result = component.file_upload(context, id=id, file_path=path)
      utils.format_output(result, context.format)
docs: file_upload(context, id, path)
  
      Upload a file in a component
  
      >>> dcictl component-file-upload [OPTIONS]
  
      :param string id: ID of the component to attach file [required]
      :param string path: Path to the file to upload [required]