Create a tool or add a feature to an existing tool which will fill ricardian and clause files from a comment to a contract declaration in C++ file. It is very boring to copy similar text two times and IMHO these descriptions are very useful to see in C++ code. It could looks like:
// $clause "Data Usage": This smart contract will store user data. The smart contract will not use the stored data for any purpose outside store and delete.
class[[eosio::contract("tictactoe")]] tictactoe : public contract {
// $ricardian: This action launches a new game and creates a new game board array. The host may use this command.
[[eosio::action]]
void create(const name &challenger, name &host);
Create a tool or add a feature to an existing tool which will fill ricardian and clause files from a comment to a contract declaration in C++ file. It is very boring to copy similar text two times and IMHO these descriptions are very useful to see in C++ code. It could looks like: