create account

Clive updates - governance operations available in the CLI by thebeedevs

View this thread on: hive.blogpeakd.comecency.com
· @thebeedevs ·
$67.18
Clive updates - governance operations available in the CLI
Two main goals achieved during the last weeks were to bump the Textual to a newer version and to complete the implementation of governance operation in the CLI (command line interface).
We also added a new small - but useful - feature to voting for proposals - if you add or remove more than 5 votes, those votes are automatically divided into two or more operations. 

## How we are with the plan
We wrote about [our plans](/@thebeedevs/clive-plans) more than three months ago.
Let’s sum up where we are:
- Support for the operations requiring active authority:
  - Transfer - already delivered (available in CLI and TUI).
  - Savings management (transfer to savings, transfer from savings, canceling a transfer from savings) - already delivered ( available in CLI and TUI).
  - Governance (vote for proposals, vote for witnesses, set a proxy) - already delivered (available in CLI and TUI).
  - Hive Power management (Power Up and Power Down) - coming soon.
  - Recurrent transfer - coming soon.

We decided to add one more operation requiring active authority to Clive - update an authority - to allow users to change their authority in an easy and safe way.

So as you can see we are on track.

## CLI governance operations

The following operations related to governance are now available in the CLI:
- add/remove vote for a witness
- add/remove vote for a proposal
- set/unset a proxy

###  CLI governance operations - commands related to voting for a witness 

The following commands are related to voting for a witness:

- `clive show witnesses` - displays a list of witnesses

Information about the parameters of every clive command can be displayed by running the command with `-h`.

![img01.png](https://images.hive.blog/DQmWmP6wpdNttDZf8rdBAvcg8rfCkDZTwaXNgWsEGZZz6hb/img01.png)

Example:
The list of witnesses is sorted by received votes, but `--account-name` votes are shown first.

![img02.png](https://images.hive.blog/DQmdvQBCRsPiHdzBq5oJA5uYxBrJcYydNWw2suVBCWaW7Jj/img02.png)

- `clive show witness --name XXX` - displays the witness details for the selected witness

![img03.png](https://images.hive.blog/DQmNmP7rXmMrA5dh3pr5W5hpSfTA8ryVAiVmh777JZBS9Zk/img03.png)

Example:
A user wants to see the details of a witness named `gtg`.

![img04.png](https://images.hive.blog/DQmaxqH1Nj7vzAHyK1LJDmurtADzQyeWZ2X7Ax6eagnjLbB/img04.png)

- `clive process vote-witness add`  - adds a vote for a witness. You may add one vote in one operation.

Options: `–profile-name`, `–password`, `–sign`, `–beekeeper-remote`, `–broadcast/–no-broadcast`, `–save-file` are the same for all operations available in Clive.

![img05.png](https://images.hive.blog/DQmNM3rTrZzMJdfBR48PjhAjLAVALKkNiePF9Zzc1y1savd/img05.png)

Example:
A user creates a transaction with an operation voting for a witness named gtg, but does not broadcast it.

![img06.png](https://images.hive.blog/DQmUghDy7RtGSAsJZL1RPDphrG2ZHK7guWUu9CvMo762V1r/img06.png)

- `clive process vote-witness remove` - removes a vote for a witness.

![img07.png](https://images.hive.blog/DQma8L9wYd7gtFGL1LEqkSADpxZVawnbbBpg89FcJNEpqUg/img07.png)

Example:
A user removes a vote for a witness named gtg, doesn’t broadcast the transaction, and saves it to file test.json.

![img08.png](https://images.hive.blog/DQmcoXFkRmNZWsHz5eFSooLFDmKDWPZumuWZsmWso9KxaZk/img08.png)

###  CLI governance operations - commands related to voting for a proposal

The following commands are related to voting for a proposal:

- `clive show proposals` - displays a list of proposals. 

![img09.png](https://images.hive.blog/DQmXz96bFr3PfWzu8Hz1oDQPyXzppCTqsjuQL6EoZke1WCL/img09.png)

Example:
The list of proposals by default shows proposals with status `votable`, is sorted by the received votes, but the `--account-name` votes are shown first.  You can change what the list is ordered by, ordering direction and filter it by status using options.

![img10.png](https://images.hive.blog/DQmUmAK95EDKtjR4CPBfr5Y8Gv9srhBeR2oFYCffMLux3Xi/img10.png)

- `clive show proposal --proposal-id XXX` - displays the proposal details for the pointed proposal.

![img11.png](https://images.hive.blog/DQmUEy8gvMyUmLuLfyZP2JKaA62NyoQEUedHS6DoFuTJ47z/img11.png)

Example:
A user wants to see the details of proposal #288.

![img12.png](https://images.hive.blog/DQmaskQ38ZnukG7LkwPpoP8kLP9vsdJS5pHKwDad7A2Ahha/img12.png)

- `clive process vote-proposal add`  - adds votes for a list of up to five proposals. 

![img13.png](https://images.hive.blog/DQmXxrtaL9b8VAzeen7vhPLiDQPEcQcagAsNVTjHEvmqt5t/img13.png)

Example:
A user wants to vote for two proposals, #229 and #266. The user broadcasts the transaction.

![img14.png](https://images.hive.blog/DQmPSsx63U7MKZ7onybfSkMXb1cAfssF2sRxmwL78Htim3W/img14.png)

- `clive process vote-proposal remove` - removes votes for a list of up to five proposals. 

![img15.png](https://images.hive.blog/DQmNnt1yjdU2PhzAg2WXcRdaRRdyZnQf1MZrHndNUqThApD/img15.png)

Example:
A user wants to remove votes for two proposals, #229 and #266. The user broadcasts the transaction.

![img16.png](https://images.hive.blog/DQmbNqVF3UdQMriUj8zgjZ8AgqLgRfNqthXUU9wX3dMhBmk/img16.png)

###  CLI governance operations - commands related to proxy

The following commands are related to the proxy:
- `clive show proxy` - show proxy of the selected account

![img17.png](https://images.hive.blog/DQmXMg6UuFtA5yE9YJZ5DvPtHbyqvKwAuTY9VBmDJRwVgzo/img17.png)

Example:
A user (`@guest4test1`) wants to check if someone else (`@thebeedevs`) has set a proxy.

![img18.png](https://images.hive.blog/DQmcirLsVvHbk2D9CiUrEho3vFJGj57kyGrxQQtCWuif8Sn/img18.png)

 - `clive process proxy set` - sets or changes the proxy.


![img19.png](https://images.hive.blog/DQmZ2b35Cx9azhNqqKNLPg2y6c1gRnN7pPi9AfARnCJgdJL/img19.png)

Example:
A user sets a proxy.

![img20.png](https://images.hive.blog/DQmVMfScRBrd9S3Bissp3sNmCMj78KzBX7dWD7Tk2v4QpRB/img20.png)

If a user sets a proxy, the information about it is displayed on the list of witnesses and the list of proposals.

![img21.png](https://images.hive.blog/DQmNcEmpLrJSsZtaGkjD8MSLLu12RjNDxkDMcTZgyqwDbL5/img21.png)

![img22.png](https://images.hive.blog/DQmVh99gS6SugwZLPUEZeC5w2DLmdyWb9J98uTrPPaiNAg6/img22.png)

- `clive process proxy clear` - removes a proxy.

![img23.png](https://images.hive.blog/DQmVk6PDGLQB1rwWqACnkhcwMYaWGqtNZ7jNKF69KJ3Sy51/img23.png)

Example:
A user removes a proxy and broadcasts the transaction.

![img24.png](https://images.hive.blog/DQmdppQgnb56LFj23Pqtoowqh7dTGdWpdM9yDwkSa6Eyuiv/img24.png)

[Updated command schema](https://gitlab.syncad.com/hive/clive/-/blob/master/clive/__private/cli/commands_structure.md)

[Complete list of corrected issues](https://gitlab.syncad.com/hive/clive/-/releases/v1.27.5.6)

More info about running Clive can be found here: [Clive - alpha release](/@thebeedevs/clive-alpha-release). Please make sure you are using the most recent version: **v1.27.5.6**

## TL;DR

```
docker run -ti hiveio/clive:v1.27.5.6
```

### Your feedback is invaluable and always welcome.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 209 others
👎  
properties (23)
authorthebeedevs
permlinkclive-updates-governance-operations-available-in-the-cli
categoryhive-139531
json_metadata{"tags":["hive","dev","clive","wallet","cli"],"image":["https://images.hive.blog/DQmWmP6wpdNttDZf8rdBAvcg8rfCkDZTwaXNgWsEGZZz6hb/img01.png","https://images.hive.blog/DQmdvQBCRsPiHdzBq5oJA5uYxBrJcYydNWw2suVBCWaW7Jj/img02.png","https://images.hive.blog/DQmNmP7rXmMrA5dh3pr5W5hpSfTA8ryVAiVmh777JZBS9Zk/img03.png","https://images.hive.blog/DQmaxqH1Nj7vzAHyK1LJDmurtADzQyeWZ2X7Ax6eagnjLbB/img04.png","https://images.hive.blog/DQmNM3rTrZzMJdfBR48PjhAjLAVALKkNiePF9Zzc1y1savd/img05.png","https://images.hive.blog/DQmUghDy7RtGSAsJZL1RPDphrG2ZHK7guWUu9CvMo762V1r/img06.png","https://images.hive.blog/DQma8L9wYd7gtFGL1LEqkSADpxZVawnbbBpg89FcJNEpqUg/img07.png","https://images.hive.blog/DQmcoXFkRmNZWsHz5eFSooLFDmKDWPZumuWZsmWso9KxaZk/img08.png","https://images.hive.blog/DQmXz96bFr3PfWzu8Hz1oDQPyXzppCTqsjuQL6EoZke1WCL/img09.png","https://images.hive.blog/DQmUmAK95EDKtjR4CPBfr5Y8Gv9srhBeR2oFYCffMLux3Xi/img10.png","https://images.hive.blog/DQmUEy8gvMyUmLuLfyZP2JKaA62NyoQEUedHS6DoFuTJ47z/img11.png","https://images.hive.blog/DQmaskQ38ZnukG7LkwPpoP8kLP9vsdJS5pHKwDad7A2Ahha/img12.png","https://images.hive.blog/DQmXxrtaL9b8VAzeen7vhPLiDQPEcQcagAsNVTjHEvmqt5t/img13.png","https://images.hive.blog/DQmPSsx63U7MKZ7onybfSkMXb1cAfssF2sRxmwL78Htim3W/img14.png","https://images.hive.blog/DQmNnt1yjdU2PhzAg2WXcRdaRRdyZnQf1MZrHndNUqThApD/img15.png","https://images.hive.blog/DQmbNqVF3UdQMriUj8zgjZ8AgqLgRfNqthXUU9wX3dMhBmk/img16.png","https://images.hive.blog/DQmXMg6UuFtA5yE9YJZ5DvPtHbyqvKwAuTY9VBmDJRwVgzo/img17.png","https://images.hive.blog/DQmcirLsVvHbk2D9CiUrEho3vFJGj57kyGrxQQtCWuif8Sn/img18.png","https://images.hive.blog/DQmZ2b35Cx9azhNqqKNLPg2y6c1gRnN7pPi9AfARnCJgdJL/img19.png","https://images.hive.blog/DQmVMfScRBrd9S3Bissp3sNmCMj78KzBX7dWD7Tk2v4QpRB/img20.png","https://images.hive.blog/DQmNcEmpLrJSsZtaGkjD8MSLLu12RjNDxkDMcTZgyqwDbL5/img21.png","https://images.hive.blog/DQmVh99gS6SugwZLPUEZeC5w2DLmdyWb9J98uTrPPaiNAg6/img22.png","https://images.hive.blog/DQmVk6PDGLQB1rwWqACnkhcwMYaWGqtNZ7jNKF69KJ3Sy51/img23.png","https://images.hive.blog/DQmdppQgnb56LFj23Pqtoowqh7dTGdWpdM9yDwkSa6Eyuiv/img24.png"],"links":["/@thebeedevs/clive-plans"],"app":"hiveblog/0.1","format":"markdown"}
created2024-02-02 21:16:03
last_update2024-02-02 21:16:03
depth0
children2
last_payout2024-02-09 21:16:03
cashout_time1969-12-31 23:59:59
total_payout_value33.612 HBD
curator_payout_value33.572 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,996
author_reputation214,413,890,391,020
root_title"Clive updates - governance operations available in the CLI"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id130,993,464
net_rshares162,255,616,231,438
author_curate_reward""
vote details (274)
@hive-lu ·
#### Hello thebeedevs!
**It's nice to let you know that your article won 🥇 place.**
Your post is among the best articles voted 7 days ago by the @hive-lu | King Lucoin Curator by **szejq**
 
You and your curator receive **0.2007 Lu** (Lucoin) investment token and a **11.14%** share of the reward from [Daily Report 197](/lucoin/@hive-lu/daily-report-day-197). Additionally, you can also receive a unique **LUGOLD** token for taking 1st place. All you need to do is reblog [this](/lucoin/@hive-lu/daily-report-day-197) report of the day with your winnings.
 
<center>[![2.png](https://files.peakd.com/file/peakd-hive/now.calendars/23uEwt7Djmb4N3dE96ecCUemJez6vLU3fmoTrdjEJn1ws4d8iPw2QrrsB22nyhbb178sx.png)](/@hive-lu)</center>
 
---
<center><sub>Invest in the **Lu token** (Lucoin) and get paid. With 50 Lu in your wallet, you also become the curator of the @hive-lu which follows your upvote.
Buy Lu on the [Hive-Engine](https://hive-engine.com/trade/LU) exchange | World of Lu created by @szejq </sub></center>
<center><sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP` _or to resume write a word_ `START`</sub> </center>
properties (22)
authorhive-lu
permlinklucoin-prize-05pr3j
categoryhive-139531
json_metadata""
created2024-02-10 00:30:30
last_update2024-02-10 00:30:30
depth1
children0
last_payout2024-02-17 00:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,183
author_reputation32,305,005,556,011
root_title"Clive updates - governance operations available in the CLI"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id131,174,940
net_rshares0
@hivebuzz ·
Congratulations @thebeedevs! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@thebeedevs/upvoted.png?202402031021"></td><td>You received more than 1750 upvotes.<br>Your next target is to reach 2000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@thebeedevs) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pum-202401-delegations"><img src="https://images.hive.blog/64x128/https://i.imgur.com/fg8QnBc.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202401-delegations">Our Hive Power Delegations to the January PUM Winners</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pud-202402-feedback"><img src="https://images.hive.blog/64x128/https://i.imgur.com/zHjYI1k.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202402-feedback">Feedback from the February Hive Power Up Day</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pum-202401-result"><img src="https://images.hive.blog/64x128/https://i.imgur.com/mzwqdSL.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202401-result">Hive Power Up Month Challenge - January 2024 Winners List</a></td></tr></table>
properties (22)
authorhivebuzz
permlinknotify-thebeedevs-20240203t103025
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2024-02-03 10:30:24
last_update2024-02-03 10:30:24
depth1
children0
last_payout2024-02-10 10:30:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,484
author_reputation369,404,632,003,850
root_title"Clive updates - governance operations available in the CLI"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id131,004,707
net_rshares0