aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/command/new_page.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2014-06-13 21:51:04 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2014-06-13 21:51:04 -0300
commit3dddbd8cc879402c2047919bccd20e6697082657 (patch)
tree38d6290f37be1d67d91c46027974e6ee3372e232 /nikola/plugins/command/new_page.py
parent7ac2cf148f7a8ea0de126fed3360b49964ce9b45 (diff)
parent58c4878526dec5510f23c812274686787d8724ba (diff)
Merge tag 'upstream/7.0.1'
Upstream version 7.0.1
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',