CLI Command Reference: redir

Generated by php build/docs/rvn-docs.php. Do not edit this file by hand.

Command

php private/bin/rvn-redir --no-banner --help

Usage Notes

CRUD for redirects (text-only):

  • list
  • show --id <id> or show --slug <slug> [--channel <channel_path>]
  • create --title <title> --slug <slug> --target <url> [--description <text>] [--channel <channel_path>] [--active <1|0>]
  • update --id <id>|--slug <slug> [--channel <channel_path>] ... (same payload fields)
  • delete --id <id> or delete --slug <slug> [--channel <channel_path>]

--channel accepts a complete parent-aware path such as news/alpha; a child slug without its parent is not a valid redirect scope.

Exit Code

0

Help Output

Usage: private/bin/rvn-redir <action> [options]
Actions: list, show, create, update, delete
Options: --id, --slug, --channel, --title, --description, --target, --active