|
| | BranchCommand (std::shared_ptr< ISubject > event_bus, std::shared_ptr< BranchManager > branch_manager) |
| | Constructor for BranchCommand.
|
|
| ~BranchCommand () override=default |
| | Destructor.
|
| std::string | getName () const override |
| | Gets the command name.
|
| std::string | getDescription () const override |
| | Gets the command description.
|
| std::string | getUsage () const override |
| | Gets the command usage syntax.
|
| bool | execute (const std::vector< std::string > &args) override |
| | Executes the branch command with given arguments.
|
| void | showHelp () const override |
| | Displays help information for the command.
|
| Public Member Functions inherited from svcs::cli::ICommand |
| virtual | ~ICommand ()=default |
| | Virtual destructor.
|
Command for managing branches in the version control system.
Implements the 'svcs branch' functionality, providing an interface for the user to interact with the repository's branch structure.