in reply to
CLI Default Action
Assuming it can take input from STDIN when used as a command line tool, you could determine whether to enter interactive mode or not based on
-t STDIN
.
Comment on
Re: CLI Default Action
Download
Code
In Section
Seekers of Perl Wisdom