vote
The vote
command creates a transaction that votes for or against a repository proposal.
Usage
Arguments
choice
- The vote choice.0
- No1
- Yes2
- NoWithVeto3
- Abstain
Options
-r, --repo
- The repository name on which the proposal exists.-i, --id
- The unique ID of the proposal that will be voted on.-m, --mr
- Like--id
, but use this if the proposal is a merge request. It will add the necessary merge request proposal prefix.-h, --help
- Prints out a help message.
Transaction Options
-f, --fee
- The number of coins to pay as the network transaction fee. It will be deducted from the signer's account.-n, --nonce
- The next nonce of the signer's account (current nonce + 1).-v, --value
- The number of coins to transfer from the signer's account.-u, --signing-key
- The address or index of a key that will be used to sign the transaction.-p, --signing-key-pass
- The passphrase that will be used to unlock the signing key.
Example
Creates a transaction that votes
Yes
to a proposal with the ID =101
in a repository namedmyrepo
.
Last updated