Archive

Move a completed project or inactive area to the archive directory.

Steps

  1. Resolve the journal path:

    JORNAL="${JORNAL:-$HOME/para/areas/dev/gh/ak/journal}"
  2. Identify the target. The user says /archive <slug>. Match against:

  3. Read the matched file. Show:

  4. If there are open [ ] or waiting [~] tasks, ask the user what to do:

  5. Once confirmed, move the file:

    mv "$JORNAL/projects/<slug>.md" "$JORNAL/archive/<slug>.md"
  6. Update _index.md:

  7. Commit:

    cd "$JORNAL" && git add projects/ areas/ archive/ && git commit -m "archive: close <slug>"

Output


Archived: