SVCS - English Documentation
Loading...
Searching...
No Matches
RepoCommand.hxx File Reference

Declaration of the RepoCommand class. More...

#include "ServerBaseCommand.hxx"
#include "../../core/include/Repository.hxx"
#include "RemoteManager.hxx"
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  svcs::server::cli::RepoCommand
 Command handler for managing repository remotes and configurations. More...

Namespaces

namespace  svcs::server::cli
 Server administration command-line interface components.
namespace  svcs::server
 Server-side components and administration commands.

Detailed Description

Declaration of the RepoCommand class.

RepoCommand implements the ICommand interface to manage repository-level configurations, primarily focusing on managing remotes. This command acts as a facade, delegating the actual management of remotes to the RemoteManager class after ensuring the command is executed within a valid repository context (implicitly handled by RepositoryManager). The command supports subcommands like add, remove, list, and rename. Inherits from ServerBaseCommand for common server command functionality.