Skip to content

Commit 99de134

Browse files
authored
Add single char flag variants for most common flags (#69)
* Added single character flags for most common options. * Added single character flags to docs. Removed -s and -t flags from skip and top because of conflicts with global flags. * Changed some of the tests to use single character flags. Added a few new tests. Fixed itwin repository tests not being run. Fixed itwin repository tests. Fixed imodel connection create not passing display-name flag.
1 parent f7114aa commit 99de134

166 files changed

Lines changed: 397 additions & 188 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/access-control/group/create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Create a new group for an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group is being created.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--name`**
11+
- **`-n, --name`**
1212
The name of the group to be created.
1313
**Type:** `string` **Required:** Yes
1414

15-
- **`--description`**
15+
- **`-d, --description`**
1616
A description of the group.
1717
**Type:** `string` **Required:** Yes
1818

docs/access-control/group/delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Delete an existing group from an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group exists.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group to be deleted.
1313
**Type:** `string` **Required:** Yes
1414

docs/access-control/group/info.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Retrieve details about a specific group in an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group exists.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group to retrieve information about.
1313
**Type:** `string` **Required:** Yes
1414

docs/access-control/group/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ List all groups for a specific iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin whose groups you want to list.
99
**Type:** `string` **Required:** Yes
1010

docs/access-control/group/update.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Update the details of an existing group in an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group exists.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group to be updated.
1313
**Type:** `string` **Required:** Yes
1414

15-
- **`--name`**
15+
- **`-n, --name`**
1616
The updated name of the group.
1717
**Type:** `string` **Required:** No
1818

19-
- **`--description`**
19+
- **`-d, --description`**
2020
The updated description of the group.
2121
**Type:** `string` **Required:** No
2222

docs/access-control/member/group/add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Add one or more groups as members to an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin to which the groups will be added.
99
**Type:** `string` **Required:** Yes
1010

docs/access-control/member/group/delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Remove a group from an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group is a member.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group to remove from the iTwin.
1313
**Type:** `string` **Required:** Yes
1414

docs/access-control/member/group/info.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Retrieve details about a specific group member in an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group is a member.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group to retrieve information about.
1313
**Type:** `string` **Required:** Yes
1414

docs/access-control/member/group/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ List all group members of an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin whose group members you want to list.
99
**Type:** `string` **Required:** Yes
1010

docs/access-control/member/group/update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Update the role assignments for a group in an iTwin.
44

55
## Options
66

7-
- **`--itwin-id`**
7+
- **`-i, --itwin-id`**
88
The ID of the iTwin where the group is a member.
99
**Type:** `string` **Required:** Yes
1010

11-
- **`--group-id`**
11+
- **`-g, --group-id`**
1212
The ID of the group whose roles will be updated.
1313
**Type:** `string` **Required:** Yes
1414

0 commit comments

Comments
 (0)