diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-04-22 22:30:21 -0400 |
|---|---|---|
| committer | dacctal <dacctalyt@gmail.com> | 2026-04-24 03:39:52 +0000 |
| commit | f1d7a1903e49c75f9965693247e8d102a96b482c (patch) | |
| tree | 1edd5ebe0a62c00353f824581a24e0afa305873f /src/add_repo.cc | |
| parent | 0b9cc83f71399a41cf4e93ef82af7c8ba5c2ab96 (diff) | |
misc optimisations and QoL improvements
Diffstat (limited to 'src/add_repo.cc')
| -rw-r--r-- | src/add_repo.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/add_repo.cc b/src/add_repo.cc index f2a4910..c302b94 100644 --- a/src/add_repo.cc +++ b/src/add_repo.cc @@ -1,4 +1,5 @@ #include <fstream> +#include <iostream> #include <string> #include "add_repo.hh" @@ -23,4 +24,6 @@ void add_repo(std::string repo, std::string repo_name) { wfile.open(repo_file); wfile << previous_repos << "repos[\"" << repo_name << "\"] = \"" << repo << "\"" << std::endl; wfile.close(); + + std::cout << print_pkgit << green << "Added " << repo_name << color_reset << std::endl; } |
