source: projects/vine-spec-skeleton/tags/release-0.1/bin/vine-spec-skeleton @ 488

Revision 488, 563 bytes checked in by iwaim, 14 years ago (diff)

vine-spec-skeleton: 0.1

  • Property svn:executable set to *
Line 
1#!/usr/bin/perl
2# -*- coding:utf-8-unix; mode:cperl -*-
3
4use strict;
5use warnings;
6
7use lib './../lib';
8
9use VineLinux::VSS;
10use Getopt::Long;
11use File::Spec;
12
13my $vss_home = "$ENV{HOME}/app/vss";
14my $config = "$vss_home/config.yaml";
15
16my $type = '';
17
18GetOptions(
19           '--config=s', \$config,
20           '--type=s' , \$type,
21           '--version' => \my $version
22          );
23Getopt::Long::Configure("bundling");
24
25if ($version) {
26  print "vine-spec-skeleton version $VineLinux::VSS::VERSION\n";
27  exit;
28}
29
30my $app = VineLinux::VSS->new(config => $config, type => $type);
31$app->run();
Note: See TracBrowser for help on using the repository browser.