##// END OF EJS Templates
Added aliases to nbconvert commandline
Jonathan Frederic -
Show More
@@ -41,7 +41,9 b' from .utils.exceptions import ConversionException'
41 nbconvert_aliases = {}
41 nbconvert_aliases = {}
42 nbconvert_aliases.update(base_aliases)
42 nbconvert_aliases.update(base_aliases)
43 nbconvert_aliases.update({
43 nbconvert_aliases.update({
44 'format' : 'NbConvertApp.export_format',
44 'to' : 'NbConvertApp.export_format',
45 'flavor' : 'Exporter.flavor',
46 'template' : 'Exporter.template_file',
45 'notebooks' : 'NbConvertApp.notebooks',
47 'notebooks' : 'NbConvertApp.notebooks',
46 'writer' : 'NbConvertApp.writer_class',
48 'writer' : 'NbConvertApp.writer_class',
47 })
49 })
@@ -124,7 +126,7 b' class NbConvertApp(BaseIPythonApplication):'
124
126
125 # Other configurable variables
127 # Other configurable variables
126 export_format = CaselessStrEnum(get_export_names(),
128 export_format = CaselessStrEnum(get_export_names(),
127 default_value="full_html",
129 default_value="html",
128 config=True,
130 config=True,
129 help="""The export format to be used."""
131 help="""The export format to be used."""
130 )
132 )
General Comments 0
You need to be logged in to leave comments. Login now