]> nmode's Git Repositories - Fey/blobdiff - script/fey
Add fey script
[Fey] / script / fey
diff --git a/script/fey b/script/fey
new file mode 100644 (file)
index 0000000..bba93c7
--- /dev/null
@@ -0,0 +1,19 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Getopt::Long;
+use App::Fey qw(fey);
+
+my $options = {
+    fork => 0,
+    single => 0
+};
+
+GetOptions(
+    'f|fork' => \$options->{fork},
+    's|single' => \$options->{single}
+);
+
+fey $options, @ARGV;