Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cli_driver.hh
Go to the documentation of this file.
1 #pragma once
2 #include "dfs.hh"
3 
4 class cli_driver {
5  public:
6  cli_driver();
7  ~cli_driver() = default;
8 
9  bool parse_args(int argc, char** argv);
10 
11  private:
12  void file_upload(std::string, uint64_t block_size);
13  void file_download(std::string);
14  void file_cat(std::string);
15  void file_remove(std::string);
16  void file_show(std::string);
17 
18  void list(bool human_readable);
19  void file_show_optimized(std::string path, int type);
20  void format();
21  void file_rename(std::string, std::string);
22  void attributes(std::string);
23 
24  velox::DFS dfs;
25 };
cli_driver()
Definition: cli_driver.cc:38
bool parse_args(int argc, char **argv)
Definition: cli_driver.cc:41
Definition: cli_driver.hh:4
Definition: dfs.hh:17
~cli_driver()=default