attach¶
rbt attach is used to upload file attachments to a review request.
The provided file
will be attached to the review request matching
review-request-id
.
Usage:
$ rbt attach [options] <review-request-id> <file>
Default Options¶
A number of options to rbt attach can be set by default
in .reviewboardrc
. These can go either in the repository’s
or the user’s .reviewboardrc
.
The options include:
DEBUG
(-d
)REVIEWBOARD_URL
(--server
)USERNAME
(--username
)PASSWORD
(--password
)REPOSITORY_TYPE
(--repository-type
)
Options¶
-
-d
,
–debug
¶
Display debug output.
The default can be set in
DEBUG
in.reviewboardrc
.
-
–filename
¶
Custom filename for file attachment.
Caption for file attachment.
-
–server
¶
Specify a different Review Board server to use.
The default can be set in
REVIEWBOARD_URL
in.reviewboardrc
.
-
–username
¶
Username to be supplied to the Review Board server.
The default can be set in
USERNAME
in.reviewboardrc
.
-
–password
¶
Password to be supplied to the Review Board server.
The default can be set in
PASSWORD
in.reviewboardrc
.
-
–repository-type
¶
Specifies the type of repository in the current directory. In most cases this should be detected automatically, but some directory structures containing multiple repositories require this option to select the proper type. The rbt list-repo-types command can be used to list the supported values.
The default can be set in
REPOSITORY_TYPE
in.reviewboardrc
.