Skip to content
Santtu Pajukanta edited this page Jan 28, 2016 · 3 revisions

Basic concepts

  • CLI state
    • Remembers which project and ticket you have previously been working with.
    • After each command, gives you a hint (usually a URL) of the current state.
    • Hey I know! Let's build a wurstenv shell helper that detects the existence of .wurst-project in the current working directory or one of its ancestors and sets the project accordingly.

Examples

$ wurst login https://wurst.desucon.fi
Username: japsu
Password:
Second factor:
Logged in [site=https://wurst.desucon.fi]
$ wurst create-project wurst
Created [project=https://wurst.desucon.fi/projects/wurst]
$ wurst create -t story "As a user, I want to create a new ticket"
Created [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst assign akx
Updated [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst set storypoints=13
Updated [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst show
Title: As a user, I want to create a new ticket
Story points: 13
Assignee: Aarni Koskela [https://wurst.desucon.fi/people/akx]
Status: New
$ wurst browse
Opening your default browser... [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst start
Updated [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst start
WARNING: Status is already "In progress".
No changes [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
$ wurst resolve "Implemented in HEAD kthxbai"
Updated [ticket=https://wurst.desucon.fi/projects/wurst/stories/1]
Clone this wiki locally