The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

app-sharedir.pl - a CLI::Driver example using File::ShareDir

Quickstart: - cd to your project dir (typically where the Makefile.PL lives) - create bin/ dir - copy this to bin/<yournewcliname.pl> - create 'share/' dir - create 'share/cli-driver.yml' file (you can use the cli-driver.yml example included with this distro) - find the TODO(s) in this file and update those section(s) appropriately

  - Dist::Zilla users:
    - add [ExecDir] to your dist.ini (assuming you want to bundle your new cli)
    - add [ShareDir] to your dist.ini
    
  - ExtUtils::MakeMaker users:
    - add EXE_FILES => ['bin/yournewcliname.pl'] to your Makefile.PL
    - refer to File::ShareDir docs for remaining config