Skip to content

Commit 02002e4

Browse files
ElestriasMarkuu-s
authored andcommitted
client updates
Signed-off-by: elestrias <[email protected]>
1 parent 150ba76 commit 02002e4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

core/cli/node/client.hpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,25 @@ namespace fc::cli::_node {
134134
};
135135

136136

137+
struct Node_client_getDeal: Empty{
138+
CLI_RUN(){
139+
Node::Api api{argm};
140+
auto proposal_cid{cliArgv<CID>(argv, 0, "proposal cid of deal to get")};
141+
// TODO: Client getDealInfo
142+
}
143+
};
144+
145+
struct Node_client_stat: Empty{
146+
CLI_RUN() {
147+
Node::Api api{argm};
148+
auto cid{cliArgv<CID>(argv, 0, " cid of localy stored file")};
149+
//auto deal_size = cliTry(api._->);
150+
//TODO: CLientDealSize;
151+
}
152+
153+
};
154+
155+
137156

138157

139158

0 commit comments

Comments
 (0)