Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
run.hpp
Go to the documentation of this file.
1 // Copyright (c) 2015-2022 Clearmatics Technologies Ltd
2 //
3 // SPDX-License-Identifier: LGPL-3.0+
4 
5 #ifndef __ZETH_LIBTOOL_RUN_HPP__
6 #define __ZETH_LIBTOOL_RUN_HPP__
7 
8 #include "libtool/command.hpp"
9 
10 namespace libtool
11 {
12 
15 template<typename GlobalOptionsT>
16 int run_command(
17  command<GlobalOptionsT> &command,
18  GlobalOptionsT &options,
19  const std::map<std::string, subcommand<GlobalOptionsT> *> &subcommands,
20  int argc,
21  char **argv);
22 
23 } // namespace libtool
24 
25 #include "libtool/run.tcc"
26 
27 #endif // __ZETH_LIBTOOL_RUN_HPP__
libtool
Utilities that are likely to be useful for command line tools.
Definition: command.hpp:10
command.hpp
run.tcc
libtool::run_command
int run_command(command< GlobalOptionsT > &command, GlobalOptionsT &options, const std::map< std::string, subcommand< GlobalOptionsT > * > &subcommands, int argc, char **argv)