summaryrefslogtreecommitdiffstats
path: root/nikola/plugins/command/new_page.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2014-06-13 21:51:02 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2014-06-13 21:51:02 -0300
commit58c4878526dec5510f23c812274686787d8724ba (patch)
tree5f2374bc17adb10e15f7e5b4576595d9cc2ef17e /nikola/plugins/command/new_page.py
parentfa50632a9d87c3989566fed3e49c160a132e0d14 (diff)
Imported Upstream version 7.0.1upstream/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',