source: XMLIO_V2/tools/FCM/bin/fcm @ 81

Last change on this file since 81 was 81, checked in by ymipsl, 15 years ago

ajout FCM 1.5

File size: 1.6 KB
Line 
1#!/usr/bin/env perl
2#-------------------------------------------------------------------------------
3# (C) Crown copyright Met Office. All rights reserved.
4# For further details please refer to the file COPYRIGHT.txt
5# which you should have received as part of this distribution.
6#-------------------------------------------------------------------------------
7use strict;
8use warnings;
9
10use FindBin;
11use lib "$FindBin::Bin/../lib";
12use Fcm::CLI;
13use Fcm::Interactive;
14
15if (!caller()) {
16    main(@ARGV);
17}
18
19sub main {
20    local(@ARGV) = @_;
21    if (@ARGV && $ARGV[0] eq 'gui-internal') {
22        shift(@ARGV);
23        Fcm::Interactive::set_impl(
24            'Fcm::Interactive::InputGetter::GUI',
25            {geometry => shift(@ARGV)},
26        );
27    }
28    Fcm::CLI::invoke();
29}
30
31__END__
32
33=head1 NAME
34
35fcm
36
37=head1 SYNOPSIS
38
39fcm SUBCOMMAND [OPTIONS] [ARGUMENTS]
40
41=head1 OVERVIEW
42
43B<fcm> is the command line client for code management commands, the extract
44system and the build system of the Flexible Configuration Management (FCM)
45system.  For full detail of the system, please refer to the FCM user guide,
46which you should receive with this distribution in both HTML and PDF formats.
47
48Run "fcm help" to access the built-in tool documentation.
49
50=head1 AUTHOR
51
52FCM Team L<fcm-team@metoffice.gov.uk>.
53Please feedback any bug reports or feature requests to us by e-mail.
54
55=head1 SEE ALSO
56
57L<svn (1)|svn>,
58L<perl (1)| perl>,
59L<Fcm::CLI|Fcm::CLI>
60
61=head1 COPYRIGHT
62
63You can use this release of B<FCM> freely under the terms of the FCM LICENSE,
64which you should receive with this distribution.
65
66=cut
Note: See TracBrowser for help on using the repository browser.