Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Oct 4, 2023
1 parent d25a72e commit 50ed1d2
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions pros/conductor/depots.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,45 @@
# Adding Depots

`pros conduct add-depot --name=<name-of-your-depot> --url=<https://url-for-your-depot>`
`pros conduct add-depot --name <name-of-your-depot> --url <https://url-for-your-depot>`
`pros conduct add-depot <name-of-your-depot> <https://url-for-your-depot>`

Example:
```bash
$ pros conduct add-depot --name arms --url "https://github.com/purduesigbots/ARMS/releases/download/v3.1.1/[email protected]"
> Added depot arms from https://github.com/purduesigbots/ARMS/releases/download/v3.1.1/[email protected]
$ pros conduct add-depot test "https://pros.cs.purdue.edu/v5/_static/beta/testing-mainline.json"
> Added depot test from https://pros.cs.purdue.edu/v5/_static/beta/testing-mainline.json
```

# Removing Depots

`pros conduct remove-depot --name=<name-of-your-depot>`
`pros conduct remove-depot <name-of-your-depot>`

Example:
```bash
$ pros conduct remove-depot --name=arms
> Removed depot arms
$ pros conduct remove-depot test
> Removed depot test
```


# Query Depots

`pros conduct query-depots --url=True`

`pros conduct query-depots --url=False` (Default)
`pros conduct query-depots --url`
`pros conduct query-depots`

Examples:
```bash
$ pros conduct query-depots --url True
> arms
> https://github.com/purduesigbots/ARMS/releases/download/v3.1.1/[email protected]
>
> kernel-beta-mainline
> https://raw.githubusercontent.com/purduesigbots/pros-mainline/master/beta/kernel-beta-mainline.json
>
> pros-mainline
> https://purduesigbots.github.io/pros-mainline/pros-mainline.json
$ pros conduct query-depots --url
> Available Depots:
>
> kernel-beta-mainline -- https://raw.githubusercontent.com/purduesigbots/pros-mainline/master/beta/kernel-beta-mainline.json
> pros-mainline -- https://purduesigbots.github.io/pros-mainline/pros-mainline.json
> test -- https://pros.cs.purdue.edu/v5/_static/beta/testing-mainline.json
>
```
```bash
$ pros conduct query-depots
> arms
> Available Depots (Add --url for the url):
>
> kernel-beta-mainline
>
> pros-mainline
> test
>
```

0 comments on commit 50ed1d2

Please sign in to comment.