-
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.
* add depot * remove depot & query depot * fix typo * ui.echo instead of print * add docstrings * Better formatting & confirmation messages * Documentation for adding/removing depots * Better formatting * Removed newlines * Updated docs
- Loading branch information
1 parent
149562b
commit 4daf497
Showing
3 changed files
with
100 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Adding Depots | ||
|
||
`pros conduct add-depot <name-of-your-depot> <https://url-for-your-depot>` | ||
|
||
Example: | ||
```bash | ||
$ 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-of-your-depot>` | ||
|
||
Example: | ||
```bash | ||
$ pros conduct remove-depot test | ||
> Removed depot test | ||
``` | ||
|
||
|
||
# Query Depots | ||
|
||
`pros conduct query-depots --url` | ||
`pros conduct query-depots` | ||
|
||
Examples: | ||
```bash | ||
$ 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 | ||
> Available Depots (Add --url for the url): | ||
> | ||
> kernel-beta-mainline | ||
> pros-mainline | ||
> test | ||
> | ||
``` |