class_docstr: Abstract subcommand to output applications as some type of file.
  
      
class_docstr_tok: ["Abstract","subcommand","to","output","applications","as","some","type","of","file","."]
docstr: Return args for ``-o`` / ``--output`` to specify where output
  should be written, and for a ``--args`` to pass on any additional
  command line args to the subcommand.
  
  Subclasses should append these to their class ``args``.
  
  Example:
  
      .. code-block:: python
  
          class Foo(FileOutputSubcommand):
  
              args = (
  
                  FileOutputSubcommand.files_arg("FOO"),
  
                  # more args for Foo
  
              ) + FileOutputSubcommand.other_args()
docstr_tok: ["Return","args","for","``","-o","``","\/","``","--","output","``","to","specify","where","output","should","be","written",",","and","for","a","``","--","args","``","to","pass","on","any","additional","command","line","args","to","the","subcommand",".","Subclasses","should","append","these","to","their","class","``","args","``",".","Example",":","..","code-block",":",":","python","class","Foo","(","FileOutputSubcommand",")",":","args","=","(","FileOutputSubcommand.files_arg","(","``","FOO","''",")",",","#","more","args","for","Foo",")","+","FileOutputSubcommand.other_args","(",")"]
code: def other_args(cls) -> Args:
      """Return args for ``-o`` / ``--output`` to specify where output
      should be written, and for a ``--args`` to pass on any additional
      command line args to the subcommand.
  
      Subclasses should append these to their class ``args``.
  
      Example:
  
          .. code-block:: python
  
              class Foo(FileOutputSubcommand):
  
                  args = (
  
                      FileOutputSubcommand.files_arg("FOO"),
  
                      # more args for Foo
  
                  ) + FileOutputSubcommand.other_args()
  
      """
      return (
          (
              ("-o", "--output"),
              Argument(
                  metavar="FILENAME",
                  action="append",
                  type=str,
                  help="Name of the output file or - for standard output.",
              ),
          ),
          (
              "--args",
              Argument(
                  metavar="COMMAND-LINE-ARGS",
                  nargs="...",
                  help="Any command line arguments remaining are passed on to the application handler",
              ),
          ),
      )
  
file_path: bokeh/src/bokeh/command/subcommands/file_output.py
imports: from __future__ import annotations
  import logging
  import argparse
  import sys
  from abc import abstractmethod
  from os.path import splitext
  from ...document import Document
  from ..subcommand import Arg, Args, Argument, Subcommand
  from ..util import build_single_handler_applications, die
label_desc: Use image node_id 2 for calling the FileOutputSubcommand obj's underlying member method code with example usage: obj.other_args(cls) and returns: str,  str,  Argument,  str,  Argument