]> nmode's Git Repositories - Fey/commitdiff
Add fey script
authorNaeem Model <me@nmode.ca>
Wed, 28 May 2025 01:29:48 +0000 (01:29 +0000)
committerNaeem Model <me@nmode.ca>
Wed, 28 May 2025 01:29:48 +0000 (01:29 +0000)
script/fey [new file with mode: 0644]

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;