aboutsummaryrefslogtreecommitdiff
path: root/cli/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 51b9925c..71491357 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -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)