Skip to content

Instantly share code, notes, and snippets.

@hjkatz
Created March 13, 2015 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hjkatz/42c801677efd611085ef to your computer and use it in GitHub Desktop.
Save hjkatz/42c801677efd611085ef to your computer and use it in GitHub Desktop.
GetOptions(
'<>' => \&parse_arg,
'targets-file=s' => \$targets_file,
'scripts-file=s' => \$scripts_file,
'helpers-file=s' => \$helpers_file,
'log-file=s' => \$global_log_file,
'd|validate' => \$is_validate_mode,
'n|dry-run' => \$is_dry_run_mode,
's|strict' => \$is_strict_mode,
'v|verbose' => \$is_verbose_mode,
'q|quiet' => \$is_quiet_mode,
'h|help' => \$print_help
) or usage( "Unable to parse command line arguments" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment