NAME

Mojolicious::Command::webpush - Manage your app's web-push

SYNOPSIS

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"

DESCRIPTION

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.

ATTRIBUTES

Mojolicious::Command::webpush inherits all attributes from Mojolicious::Command and implements the following new ones.

METHODS

Mojolicious::Command::webpush inherits all methods from Mojolicious::Command and implements the following new ones.

SEE ALSO

Mojolicious::Plugin::WebPush