Skip to content

Commit

Permalink
feat: refactor user CLI to support slugs, and have better defaults + …
Browse files Browse the repository at this point in the history
…usage
  • Loading branch information
moul committed Jul 27, 2020
1 parent f59cccb commit dec5aee
Show file tree
Hide file tree
Showing 15 changed files with 874 additions and 774 deletions.
1 change: 1 addition & 0 deletions api/errcode.proto
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ enum ErrCode {
ErrNoSuchSlug = 4082;
ErrAmbiguousSlug = 4083;
ErrSeasonChallengeAdd = 4084;
ErrInvalidFlavor = 4085;

//// Pathwar Server (starting at 5001)

Expand Down
4 changes: 2 additions & 2 deletions api/pwapi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ message ChallengeGet {

message SeasonChallengeBuy {
message Input {
int64 season_challenge_id = 1 [(gogoproto.customname) = "SeasonChallengeID"];
int64 team_id = 2 [(gogoproto.customname) = "TeamID"];
string flavor_id = 1 [(gogoproto.customname) = "FlavorID"];
string season_id = 2 [(gogoproto.customname) = "SeasonID"];
}
message Output {
pathwar.db.ChallengeSubscription challenge_subscription = 1;
Expand Down
4 changes: 2 additions & 2 deletions docs/gen.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dec5aee

Please sign in to comment.