NAME
cli-driver-sharedir-example.pl - a CLI::Driver example with 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