You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/bencher_json/src/system/auth.rs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ use bencher_valid::{PlanLevel, Secret};
5
5
use schemars::JsonSchema;
6
6
use serde::{Deserialize,Serialize};
7
7
8
-
usecrate::JsonUser;
8
+
usecrate::{JsonUser,OrganizationUuid};
9
9
10
10
#[typeshare::typeshare]
11
11
#[derive(Debug,Clone,Serialize,Deserialize)]
@@ -17,6 +17,7 @@ pub struct JsonSignup {
17
17
#[cfg(feature = "plus")]
18
18
pubplan:Option<PlanLevel>,
19
19
pubinvite:Option<Jwt>,
20
+
pubclaim:Option<OrganizationUuid>,
20
21
/// I agree to the Bencher Terms of Use (https://bencher.dev/legal/terms-of-use), Privacy Policy (https://bencher.dev/legal/privacy), and License Agreement (https://bencher.dev/legal/license)
Copy file name to clipboardExpand all lines: services/cli/src/parser/system/auth.rs
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
use bencher_json::{Email,Jwt,Slug,UserName};
1
+
use bencher_json::{Email,Jwt,OrganizationUuid,Slug,UserName};
2
2
use clap::{Parser,Subcommand};
3
3
4
4
#[cfg(feature = "plus")]
@@ -40,6 +40,10 @@ pub struct CliAuthSignup {
40
40
#[clap(long)]
41
41
pubinvite:Option<Jwt>,
42
42
43
+
/// Organization UUID
44
+
#[clap(long, value_name = "UUID")]
45
+
pubclaim:Option<OrganizationUuid>,
46
+
43
47
/// I agree to the Bencher Terms of Use (https://bencher.dev/legal/terms-of-use), Privacy Policy (https://bencher.dev/legal/privacy), and License Agreement (https://bencher.dev/legal/license)
0 commit comments