#!/usr/bin/env perl
package ubic_update;
BEGIN {
  $ubic_update::VERSION = '1.32_02';
}

use strict;
use warnings;

# ABSTRACT: update ubic metadata

=head1 SYNOPSIS

    ubic-update [--help]

=head1 DESCRIPTION

This script maintains ubic portmap - small database which allows to get service by port without full traversing of all services.

=cut

use Getopt::Long 2.33;
use Pod::Usage;

return 1 if caller();

GetOptions() or pod2usage(2);
pod2usage(2) if @ARGV;

use Ubic::PortMap;

Ubic::PortMap::update();

=head1 FUTURE DIRECTIONS

This script can (and possibly will) be reimplemented as ubic service.

=head1 SEE ALSO

There is an entry about ubic-update in L<Ubic::Manual::FAQ>.

=cut
