-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d25a72e
commit 50ed1d2
Showing
1 changed file
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
> | ||
``` |