Skip to content

Commit 77f4890

Browse files
committed
Add comment to displayUsers
1 parent ddf2571 commit 77f4890

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/users.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ func users() *cobra.Command {
2222
return cmd
2323
}
2424

25+
// DisplayUsers will return a table displaying all users passed in.
26+
// filterColumns must be a subset of the user fields and will determine which
27+
// columns to display
2528
func DisplayUsers(filterColumns []string, users ...codersdk.User) string {
2629
tableWriter := cliui.Table()
2730
header := table.Row{"ID", "Username", "Email", "Created At", "Status"}

0 commit comments

Comments
 (0)