Skip to content

Commit dcb114f

Browse files
committed
Add reset command to CLI application
1 parent 19b34a8 commit dcb114f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55

66
## [Unreleased]
77

8+
## [v1.5.1] - 2024-07-23
9+
10+
### Added
11+
12+
- The `reset` command is added to the CLI application.
13+
814
## [v1.5.0] - 2024-07-22
915

1016
### Added
@@ -82,7 +88,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
8288
## v1.0.0 - 2017-04-03
8389
- First release.
8490

85-
[Unreleased]: https://github.com/raphaelstolt/git-user-bend/compare/v1.5.0...HEAD
91+
[Unreleased]: https://github.com/raphaelstolt/git-user-bend/compare/v1.5.1...HEAD
92+
[v1.5.1]: https://github.com/raphaelstolt/git-user-bend/compare/v1.5.0...v1.5.1
8693
[v1.5.0]: https://github.com/raphaelstolt/git-user-bend/compare/v1.4.0...v1.5.0
8794
[v1.4.0]: https://github.com/raphaelstolt/git-user-bend/compare/v1.3.1...v1.4.0
8895
[v1.3.1]: https://github.com/raphaelstolt/git-user-bend/compare/v1.3.0...v1.3.1

bin/git-user-bend

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if (false === $autoloaded) {
2323
exit(1);
2424
}
2525

26+
use Stolt\GitUserBend\Commands\ResetCommand;
2627
use Stolt\GitUserBend\Commands\UnpairCommand;
2728
use Stolt\GitUserBend\Git\Repository;
2829
use Stolt\GitUserBend\Persona\Storage;
@@ -65,5 +66,6 @@ $application->add(new PersonasCommand($storage));
6566
$application->add(new RetireCommand($storage));
6667
$application->add(new UseCommand($storage, $repository));
6768
$application->add(new WhoamiCommand($storage, $repository));
69+
$application->add(new ResetCommand($repository));
6870

6971
$application->run();

0 commit comments

Comments
 (0)