diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -77,3 +77,8 @@ def new_post(title): edit_post_with_editor(fullpath) return 0 + + +def new_post_cli(args): + """CLI wrapper around new_post.""" + new_post(args.title) |