aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/command/new_page.py
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/plugins/command/new_page.py')
-rw-r--r--nikola/plugins/command/new_page.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nikola/plugins/command/new_page.py b/nikola/plugins/command/new_page.py
index 39c0c1d..f07ba39 100644
--- a/nikola/plugins/command/new_page.py
+++ b/nikola/plugins/command/new_page.py
@@ -59,6 +59,13 @@ class CommandNewPage(Command):
'help': 'Create the page with separate metadata (two file format)'
},
{
+ 'name': 'edit',
+ 'short': 'e',
+ 'type': bool,
+ 'default': False,
+ 'help': 'Open the page (and meta file, if any) in $EDITOR after creation.'
+ },
+ {
'name': 'content_format',
'short': 'f',
'long': 'format',