Skip to content

export Command

nbautoexport export --help
Usage: nbautoexport export [OPTIONS] INPUT

  Manually export notebook or directory of notebooks.

  An .nbautoexport configuration file in same directory as notebook(s) will be
  used if it exists. Configuration options specified by command-line options
  will override configuration file. If no existing configuration option exists
  and no values are provided, default values will be used.

  The export command will not do cleaning, regardless of the 'clean' setting
  in an .nbautoexport configuration file.

Arguments:
  INPUT  Path to notebook file or directory of notebook files to export.
         [required]

Options:
  -f, --export-format [asciidoc|html|latex|markdown|notebook|pdf|rst|script|slides]
                                  File format(s) to save for each notebook.
                                  Multiple formats should be provided using
                                  multiple flags, e.g., '-f script -f html -f
                                  markdown'. Provided values will override
                                  existing .nbautoexport config files. If
                                  neither provided, defaults to
                                  [<ExportFormat.script: 'script'>].
  -b, --organize-by [notebook|extension]
                                  Whether to save exported file(s) in a
                                  subfolder per notebook or per export format.
                                  Provided values will override existing
                                  .nbautoexport config files. If neither
                                  provided, defaults to 'extension'.
  -v, --verbose                   Use multiple times to set verbosity/log
                                  level. [-v = INFO, -vv = DEBUG]
  --help                          Show this message and exit.