NAME
Mojolicious::Command::sendgrid::mail - Command interface to the mail endpoint of the Sendgrid API
SYNOPSIS
Usage: APPLICATION sendgrid mail COMMAND [OPTIONS]
export SENDGRID_APIKEY=
'your sendgrid api key'
mojo sendgrid mail
send
-t a
@b
.com -f x
@y
.com -s Subject < /tmp/file
DESCRIPTION
Mojolicious::Command::sendgrid::mail lists available Sendgrid commands for the mail endpoint.
ATTRIBUTES
Mojolicious::Command::sendgrid::mail inherits all attributes from Mojolicious::Commands and implements the following new ones.
description
my
$description
=
->description;
=
->description(
'Foo'
);
Short description of this command, used for the command list.
hint
my
$hint
=
->hint;
=
->hint(
'Foo'
);
Short hint shown after listing available sendgrid commands.
message
my
$msg
=
->message;
=
->message(
'Bar'
);
Short usage message shown before listing available sendgrid commands.
namespaces
my
$namespaces
=
->namespaces;
=
->namespaces([
'MyApp::Command::sendgrid::mail'
]);
Namespaces to search for available sendgrid commands, defaults to Mojolicious::Command::sendgrid::mail.
METHODS
Mojolicious::Command::sendgrid::mail inherits all methods from Mojolicious::Commands and implements the following new ones.
help
->help(
'app'
);
Print usage information for sendgrid command.