Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add a merge subcommand #23

Open
1 of 2 tasks
jossmoff opened this issue Oct 26, 2023 · 0 comments
Open
1 of 2 tasks

✨ Add a merge subcommand #23

jossmoff opened this issue Oct 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jossmoff
Copy link
Owner

Search before asking

  • I have searched in the issues and found no similar issues.

Description

It could be useful to have a command that allows you to merge to stories. The use case would be if you have two events which are too granular you can then merge them together under a larger story

Solution

Command would look something like

bookshelf [STORY1] [STORY2] [NEWSTORY]

Pseudo code:

Both stories don't exists:
  throw exception
one of the stories is in progress:
  throw exception
merge each of the chapters
create a new story with those chapter 
save the new story
delete the other stories

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@jossmoff jossmoff added the enhancement New feature or request label Oct 26, 2023
@jossmoff jossmoff self-assigned this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant