Skip to content

Commit

Permalink
Merge pull request vitalyrodnenko#199 from jersou/master
Browse files Browse the repository at this point in the history
Added attributes info to note show (inside META part)
  • Loading branch information
Vitaliy Rodnenko committed Sep 22, 2014
2 parents bb9a574 + d3f7f7e commit 5720fea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions geeknote/out.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ def showNote(note):
(printDate(note.created).ljust(15, " ")))
printLine("Updated: %s" %
(printDate(note.updated).ljust(15, " ")))
for key, value in note.attributes.__dict__.items():
if value:
printLine("%s: %s" % (key, value))
separator("-", "CONTENT")
if note.tagNames:
printLine("Tags: %s" % ', '.join(note.tagNames))
Expand Down

0 comments on commit 5720fea

Please sign in to comment.