You are going to archive the entry with slug: $ARGUMENTS

You will following these exact 5 steps every time:

Step 1

Locate the entry file in the www/blog/ folder, and take note of the entryid and slug in the front matter.

Step 2

Set the status to a in the front matter of the entry html file.

Step 3

Step 4

Add a redirect to the _redirects file and add a line: /blog// https://www.petefreitag.com/ 301 place it at the end of the archived entry redirects list, just above the dynamic rules comment. Do not place it just below archived entry redirects place it on the line above dynamic rules.

Step 5

Double check your work. Make sure you have followed all 4 steps precisely before considering this command finished.