Skip to content

Commit

Permalink
Remove generic delete
Browse files Browse the repository at this point in the history
  • Loading branch information
McNaBry committed Nov 13, 2023
1 parent 9bf4de1 commit 1611a15
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,18 +478,13 @@ Edits the given job application according to the parameters given.
| `edit --application 1`{:.language-sh} | None of the fields to edit are given. |
| `edit --application 1 --by 31-31-2023`{:.language-sh} | The date is invalid. |

### Deleting contacts - `delete`
<div class="applies-to pill"><span class="jobby-data-class pill">Organization</span> <span class="jobby-data-class pill">Recruiter</span></div>

### Deleting data - `delete`
<div class="applies-to pill"><span class="jobby-data-class pill">Organization</span> <span class="jobby-data-class pill">Recruiter</span> <span class="jobby-data-class pill">Job Application</span></div>
<span class="learning-outcome pill">:trophy: How to delete contacts and job applications in Jobby</span> <span class="intermediate pill">Intermediate</span>

<span class="danger pill">:warning: The deletion of data is permanent and there is no way to undo it.</span>

The `delete` command allows you to delete contacts and job applications if they are no longer relevant. To learn more about deleting a contact or application, check out the sections below.

#### Deleting contacts - `delete`

<span class="learning-outcome pill">:trophy: How to delete contacts and job applications in Jobby</span> <span class="intermediate pill">Intermediate</span>

##### Format
```sh
delete INDEX/ID [--recursive]
Expand All @@ -512,10 +507,13 @@ Deletes the contact at the given `INDEX` or `ID`.
|------------------------|---------------------------------------------------------------------|
| `delete 0` | Invalid index, as index starts from 1. |

#### Deleting job applications - `delete --application`{:.language-sh}
### Deleting job applications - `delete --application`{:.language-sh}
<div class="applies-to pill"><span class="jobby-data-class pill">Job Application</span></div>

<span class="learning-outcome pill">:trophy: Able to delete job applications in Jobby</span> <span class="intermediate pill">Intermediate</span>

<span class="danger pill">:warning: The deletion of data is permanent and there is no way to undo it.</span>

##### Format
```sh
delete --application INDEX
Expand Down

0 comments on commit 1611a15

Please sign in to comment.