Skip to content

Commit 2c67975

Browse files
committed
✨ update valet 0.33
1 parent b499825 commit 2c67975

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

commands.d/gitlab.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ source gitlab
77
# >>> command: showcase command1
88
#===============================================================
99

10-
##<<VALET_COMMAND
11-
# command: gitlab projects
12-
# function: gitlabProjects
13-
# shortDescription: List GitLab projects.
14-
# description: |-
15-
# List GitLab projects.
16-
# options:
17-
# - name: -r, --role <role>
18-
# description: |-
19-
# Filter projects by role. Possible values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
20-
# default: developer
21-
# examples:
22-
# - name: gitlab projects
23-
# description: |-
24-
# List all projects where the user is a developer.
25-
##VALET_COMMAND
10+
: <<"COMMAND_YAML"
11+
command: gitlab projects
12+
function: gitlabProjects
13+
shortDescription: List GitLab projects.
14+
description: |-
15+
List GitLab projects.
16+
options:
17+
- name: -r, --role <role>
18+
description: |-
19+
Filter projects by role. Possible values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
20+
default: developer
21+
examples:
22+
- name: gitlab projects
23+
description: |-
24+
List all projects where the user is a developer.
25+
COMMAND_YAML
2626
function gitlabProjects() {
2727
local role
28-
command::parseArguments "$@" && eval "${REPLY}"
28+
command::parseArguments "$@"; eval "${REPLY}"
2929
command::checkParsedResults
3030

3131
if command -v gitlab::getProjects &>/dev/null; then

0 commit comments

Comments
 (0)