File tree 7 files changed +10
-10
lines changed
tests/testsuite/cargo_owner
7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
2
2
use cargo_test_support:: prelude:: * ;
3
3
4
4
#[ cargo_test]
5
- fn case ( ) {
5
+ fn add_case ( ) {
6
6
snapbox:: cmd:: Command :: cargo_ui ( )
7
7
. arg ( "owner" )
8
8
. arg ( "add" )
Original file line number Diff line number Diff line change 1
1
Name of a user or team to invite as an owner
2
2
3
- Usage: cargo owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
3
+ Usage: cargo[EXE] owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
4
4
5
5
Options:
6
6
--crate <CRATE_NAME> Crate name that you want to manage the owner
Original file line number Diff line number Diff line change 1
1
Manage the owners of a crate on the registry
2
2
3
- Usage: cargo owner [OPTIONS]
3
+ Usage: cargo[EXE] owner [OPTIONS]
4
4
cargo owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
5
5
cargo owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
6
6
cargo owner list [CRATE_NAME] [OPTIONS]
@@ -21,23 +21,23 @@ Manifest Options:
21
21
--locked Require Cargo.lock is up to date
22
22
--offline Run without accessing the network
23
23
24
- cargo owner add:
24
+ cargo[EXE] owner add:
25
25
Name of a user or team to invite as an owner
26
26
--crate <CRATE_NAME> Crate name that you want to manage the owner
27
27
--index <INDEX> Registry index URL to modify owners for
28
28
--registry <REGISTRY> Registry to modify owners for
29
29
--token <TOKEN> API token to use when authenticating
30
30
-h, --help Print help
31
31
32
- cargo owner remove:
32
+ cargo[EXE] owner remove:
33
33
Name of a user or team to remove as an owner
34
34
--crate <CRATE_NAME> Crate name that you want to manage the owner
35
35
--index <INDEX> Registry index URL to modify owners for
36
36
--registry <REGISTRY> Registry to modify owners for
37
37
--token <TOKEN> API token to use when authenticating
38
38
-h, --help Print help
39
39
40
- cargo owner list:
40
+ cargo[EXE] owner list:
41
41
List owners of a crate
42
42
--crate <CRATE_NAME> Crate name that you want to manage the owner
43
43
--index <INDEX> Registry index URL to modify owners for
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
2
2
use cargo_test_support:: prelude:: * ;
3
3
4
4
#[ cargo_test]
5
- fn case ( ) {
5
+ fn list_case ( ) {
6
6
snapbox:: cmd:: Command :: cargo_ui ( )
7
7
. arg ( "owner" )
8
8
. arg ( "list" )
Original file line number Diff line number Diff line change 1
1
List owners of a crate
2
2
3
- Usage: cargo owner list [CRATE_NAME] [OPTIONS]
3
+ Usage: cargo[EXE] owner list [CRATE_NAME] [OPTIONS]
4
4
5
5
Options:
6
6
--crate <CRATE_NAME> Crate name that you want to manage the owner
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
2
2
use cargo_test_support:: prelude:: * ;
3
3
4
4
#[ cargo_test]
5
- fn case ( ) {
5
+ fn remove_case ( ) {
6
6
snapbox:: cmd:: Command :: cargo_ui ( )
7
7
. arg ( "owner" )
8
8
. arg ( "remove" )
Original file line number Diff line number Diff line change 1
1
Name of a user or team to remove as an owner
2
2
3
- Usage: cargo owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
3
+ Usage: cargo[EXE] owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
4
4
5
5
Options:
6
6
--crate <CRATE_NAME> Crate name that you want to manage the owner
You can’t perform that action at this time.
0 commit comments