The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CPANSEC::Admin::Command::Publish - handles advisories ready for publishing

SYNOPSIS

    cpansec-admin publish  [--triage-dir=<path>] [--published-dir=<path>]
                           [-a | --all] [<filepath>...]

DESCRIPTION

This command takes approved advisories from triage, converts them to the OSV JSON format, assigns them a unique CPANSEC-YYYY-NNNN identifier and moves them to the published folder.

ARGUMENTS

    -a, --all                 Inspect the entire triage folder. Alternatively,
                              you may inspect a single candidate by passing
                              its filename.

    --triage-dir=<path>       Use a custom path for the triage (source)
                              folder. Defaults to "./triage". Can also be set
                              via the CPANSEC_TRIAGE_DIR environment variable.
                              This option is ignored when you pass specific
                              file paths instead of --all.

    --published-dir=<path>    Use a custom path for the published (destination)
                              folder. Defaults to "./advisories". Can also be set
                              via the CPANSEC_PUBLISHED_DIR environment variable.