Mojolicious::Command::webpush - Manage your app's web-push
Usage: APPLICATION webpush COMMAND [OPTIONS] ./myapp.pl webpush create <USERID> <JSON> ./myapp.pl webpush read <USERID> ./myapp.pl webpush delete <USERID> ./myapp.pl webpush keygen > webpush_private_key.pem Options: -h, --help Show this summary of available options --home <path> Path to home directory of your application, defaults to the value of MOJO_HOME or auto-detection -m, --mode <name> Operating mode for your application, defaults to the value of MOJO_MODE/PLACK_ENV or "development"
Mojolicious::Command::webpush manages your application's web-push information. It gives a command-line interface to the relevant helpers in "HELPERS" in Mojolicious::Plugin::WebPush.
The keygen command prints a PEM-encoded "generate_key" in Crypt::PK::ECC prime256v1 result.
keygen
prime256v1
Mojolicious::Command::webpush inherits all attributes from Mojolicious::Command and implements the following new ones.
Mojolicious::Command::webpush inherits all methods from Mojolicious::Command and implements the following new ones.
Mojolicious::Plugin::WebPush
To install Mojolicious::Plugin::WebPush, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::WebPush
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::WebPush
For more information on module installation, please visit the detailed CPAN module installation guide.