Add read project lists
This commit is contained in:
parent
fe9e887061
commit
a4229edd6f
4 changed files with 118 additions and 4 deletions
|
@ -1,12 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include <clippy/project_list.hpp>
|
||||
#include <clippy/target.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
class Clippy {
|
||||
public:
|
||||
void Run(const std::vector<std::string>& args);
|
||||
|
||||
using TargetPtr = std::unique_ptr<clippy::targets::Target>;
|
||||
private:
|
||||
bool TryExecuteClippyCommand(const std::vector<std::string>& args);
|
||||
TargetPtr TryExecuteClippyCommand(const std::vector<std::string>& args);
|
||||
|
||||
ProjectList projects_;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue