code: def upgrade_cmd(argv=sys.argv[1:]):  # pragma: no cover
      
      arguments = docopt(upgrade_cmd.__doc__, argv=argv)
      initialize_config(__mode__='fit')
      upgrade(from_version=arguments['--from'], to_version=arguments['--to'])
docs: \
  Upgrade the database to the latest version.
  
  Usage:
    pld-ugprade [options]
  
  Options:
    --from=<v>               Upgrade from a specific version, overriding
                             the version stored in the database.
  
    --to=<v>                 Upgrade to a specific version instead of the
                             latest version.
  
    -h --help                Show this screen.