diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 8d9187d..5327928 100644 --- a/README.markdown +++ b/README.markdown @@ -26,12 +26,20 @@ via environment variables or command-line options. # SYNOPSIS + use Mail::Run::Crypt; + ... my $mrc = Mail::Run::Crypt->new( + mailto => 'you@example.net', + ); + $mrc->run($command, @args); + ... + my $mrc = Mail::Run::Crypt->new( + sign => 1, keyid => 0x1234DEAD, passphrase => 'able was i ere i saw elba', mailto => 'you@example.net', ); - $mrc->run(qw(rsync -a /mnt/a/ remote:mnt/b)); + $mrc->run($command, @args); # SUBROUTINES/METHODS |