Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee81a2f

Browse files
committed
make gen & update golden files
1 parent0975c75 commitee81a2f

File tree

30 files changed

+719
-0
lines changed

30 files changed

+719
-0
lines changed

‎cli/testdata/coder_--help.golden‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SUBCOMMANDS:
3131
netcheck Print network debug information for DERP and STUN
3232
notifications Manage Coder notifications
3333
open Open a workspace
34+
organizations Organization related commands
3435
ping Ping a workspace
3536
port-forward Forward ports from a workspace to the local machine. For
3637
reverse port forwarding, use "coder ssh -R".
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations [flags] [subcommand]
5+
6+
Organization related commands
7+
8+
Aliases: organization, org, orgs
9+
10+
SUBCOMMANDS:
11+
create Create a new organization.
12+
members Manage organization members
13+
roles Manage organization roles.
14+
show Show the organization. Using "selected" will show the selected
15+
organization from the "--org" flag. Using "me" will show all
16+
organizations you are a member of.
17+
18+
OPTIONS:
19+
-O, --org string, $CODER_ORGANIZATION
20+
Select which organization (uuid or name) to use.
21+
22+
———
23+
Run `coder --help` for a list of global options.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations create [flags] <organization name>
5+
6+
Create a new organization.
7+
8+
OPTIONS:
9+
-y, --yes bool
10+
Bypass prompts.
11+
12+
———
13+
Run `coder --help` for a list of global options.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations members
5+
6+
Manage organization members
7+
8+
Aliases: member
9+
10+
SUBCOMMANDS:
11+
add Add a new member to the current organization
12+
edit-roles Edit organization member's roles
13+
list List all organization members
14+
remove Remove a new member to the current organization
15+
16+
———
17+
Run `coder --help` for a list of global options.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations members add <username | user_id>
5+
6+
Add a new member to the current organization
7+
8+
———
9+
Run `coder --help` for a list of global options.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations members edit-roles <username | user_id> [roles...]
5+
6+
Edit organization member's roles
7+
8+
Aliases: edit-role
9+
10+
———
11+
Run `coder --help` for a list of global options.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations members list [flags]
5+
6+
List all organization members
7+
8+
OPTIONS:
9+
-c, --column [username|name|user id|organization id|created at|updated at|organization roles] (default: username,organization roles)
10+
Columns to display in table output.
11+
12+
-o, --output table|json (default: table)
13+
Output format.
14+
15+
———
16+
Run `coder --help` for a list of global options.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations members remove <username | user_id>
5+
6+
Remove a new member to the current organization
7+
8+
Aliases: rm
9+
10+
———
11+
Run `coder --help` for a list of global options.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations roles
5+
6+
Manage organization roles.
7+
8+
Aliases: role
9+
10+
SUBCOMMANDS:
11+
edit Edit an organization custom role
12+
show Show role(s)
13+
14+
———
15+
Run `coder --help` for a list of global options.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder organizations roles edit [flags] <role_name>
5+
6+
Edit an organization custom role
7+
8+
- Run with an input.json file:
9+
10+
$ coder roles edit --stdin < role.json
11+
12+
OPTIONS:
13+
-c, --column [name|display name|organization id|site permissions|organization permissions|user permissions] (default: name,display name,site permissions,organization permissions,user permissions)
14+
Columns to display in table output.
15+
16+
--dry-run bool
17+
Does all the work, but does not submit the final updated role.
18+
19+
-o, --output table|json (default: table)
20+
Output format.
21+
22+
--stdin bool
23+
Reads stdin for the json role definition to upload.
24+
25+
-y, --yes bool
26+
Bypass prompts.
27+
28+
———
29+
Run `coder --help` for a list of global options.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp