NAME

Punk::Command::Push - the `punk push` subcommand

SYNOPSIS

punk push keys

DESCRIPTION

Registers itself with Punk::Command at load, which is how a plugin distribution adds a subcommand with no scanning and no cost on the common path.

keys

Prints a fresh VAPID keypair as two environment lines:

VAPID_PUBLIC=BF...
VAPID_PRIVATE=k3...

A keypair is configuration and belongs outside the application. Generate it once, put it in the environment, and keep it: every subscription a browser makes is bound to the public key it was made with, so replacing the pair makes every existing subscription undeliverable, and a browser will not re-grant permission without being asked again.

AUTHOR

LNATION <email@lnation.org>

LICENSE AND COPYRIGHT

This software is Copyright (c) 2026 by LNATION <email@lnation.org>.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)