jtushman / pivotal_tools

geeky command-line interface with additional scrum, planning poker, and changelog generation features
http://jtushman.github.io/blog/2013/08/15/introducing-pivotal-tools/
64 stars 26 forks source link

"create story in label" mode #6

Open lunks opened 11 years ago

lunks commented 11 years ago

Our common use case is to enter stories by label, i.e. I first create an admin label, enter all stories related to it, then go on to an user label, create all the stories related to it and so on.

It would be great if pivotal_tools could have this in. I'd expect it to work like this:

What label would you like to create stories on?
>> admin

CREATING STORIES FOR MY SIMPLE PROJECT [label: admin]
---------------------------------------------------------------------

Title:
>> My story title

---> Story "My story title" created under label 'admin'.

Title:
>> My other story title

--> Story "My other story title" created under label 'admin'.

Title:
>>[enter]

What label would you like to create stories on?
>> user

And on.

I'll try to contribute to it later on, despite my non-existent Python skills.

It's a great tool, thanks for sharing it with the community!

jtushman commented 11 years ago

Cool idea.

How about something like:

pivotal_tools create story "My Story" My Discription" --labels='admin, another label'