Represents a single TODO item for task management. More...
#include <todo_manager.h>
Public Types | |
enum class | Status { PENDING , IN_PROGRESS , COMPLETED , BLOCKED , CANCELLED } |
Public Member Functions | |
std::string | StatusToString () const |
Static Public Member Functions | |
static Status | StringToStatus (const std::string &str) |
Public Attributes | |
std::string | id |
std::string | description |
enum yaze::cli::agent::TodoItem::Status | status = Status::PENDING |
std::string | category |
int | priority = 0 |
std::vector< std::string > | dependencies |
std::vector< std::string > | tools_needed |
std::string | created_at |
std::string | updated_at |
std::string | notes |
Represents a single TODO item for task management.
Definition at line 18 of file todo_manager.h.
|
strong |
Enumerator | |
---|---|
PENDING | |
IN_PROGRESS | |
COMPLETED | |
BLOCKED | |
CANCELLED |
Definition at line 21 of file todo_manager.h.
std::string yaze::cli::agent::TodoItem::StatusToString | ( | ) | const |
Definition at line 33 of file todo_manager.cc.
References BLOCKED, CANCELLED, COMPLETED, IN_PROGRESS, PENDING, and status.
Referenced by yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
|
static |
Definition at line 44 of file todo_manager.cc.
References BLOCKED, CANCELLED, COMPLETED, IN_PROGRESS, and PENDING.
Referenced by yaze::cli::agent::TodoManager::ImportFromJson(), and yaze::cli::agent::TodoManager::Load().
std::string yaze::cli::agent::TodoItem::id |
Definition at line 19 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo(), and yaze::cli::agent::TodoManager::UpdateTodo().
std::string yaze::cli::agent::TodoItem::description |
Definition at line 20 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
enum yaze::cli::agent::TodoItem::Status yaze::cli::agent::TodoItem::status = Status::PENDING |
std::string yaze::cli::agent::TodoItem::category |
Definition at line 29 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
int yaze::cli::agent::TodoItem::priority = 0 |
Definition at line 30 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
std::vector<std::string> yaze::cli::agent::TodoItem::dependencies |
Definition at line 31 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CanExecute(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
std::vector<std::string> yaze::cli::agent::TodoItem::tools_needed |
Definition at line 32 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
std::string yaze::cli::agent::TodoItem::created_at |
Definition at line 33 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().
std::string yaze::cli::agent::TodoItem::updated_at |
Definition at line 34 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo(), and yaze::cli::agent::TodoManager::UpdateTodo().
std::string yaze::cli::agent::TodoItem::notes |
Definition at line 35 of file todo_manager.h.
Referenced by yaze::cli::agent::TodoManager::ImportFromJson(), yaze::cli::agent::TodoManager::Load(), and yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::PrintTodo().