Files
spark/src/server/sparkd/cmds/crypto/CryptoCmd.cpp
T

26 lines
574 B
C++

#include "CryptoCmd.h"
#include "DeribitDemoCmd.h"
#ifdef SPARK_ENABLE_CCAPI
#include "LiveLadderDemoCmd.h"
#endif
#include <CLI/CLI.hpp>
namespace bts::cmds {
struct CryptoCmd::Args {
// Placeholder for args
};
CryptoCmd::CryptoCmd()
: CLI::App("Execute commands for the new crypto system", "crypto"),
args_(std::make_unique<CryptoCmd::Args>()) {
#ifdef SPARK_ENABLE_CCAPI
add_subcommand(std::make_shared<LiveLadderDemoCmd>());
#endif
add_subcommand(std::make_shared<DeribitDemoCmd>());
}
CryptoCmd::~CryptoCmd() = default;
} // namespace bts::cmds