Skip to content

Commit

Permalink
Add "close" and "fix" commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dmedvinsky committed May 23, 2012
1 parent a453c1e commit 96f4956
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion redcliff/commands/__init__.py
Expand Up @@ -3,7 +3,7 @@
from ..utils import error


choices = ['list', 'forme', 'now', 'update']
choices = ['list', 'forme', 'now', 'update', 'fix', 'close']


def dispatch(cmd, args, conf):
Expand Down
7 changes: 7 additions & 0 deletions redcliff/commands/close.py
@@ -0,0 +1,7 @@
from . import update


def run(argv, conf):
argv.append('--status')
argv.append('Closed')
return update.run(argv, conf)
7 changes: 7 additions & 0 deletions redcliff/commands/fix.py
@@ -0,0 +1,7 @@
from . import update


def run(argv, conf):
argv.append('--status')
argv.append('Fixed')
return update.run(argv, conf)

0 comments on commit 96f4956

Please sign in to comment.