feat(CLI): Add CLI command to archive and restore contexts (closes #4516)