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: Returns a positional arg for ``files`` to specify file inputs to
  the command.
  
  Subclasses should include this 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: ["Returns","a","positional","arg","for","``","files","``","to","specify","file","inputs","to","the","command",".","Subclasses","should","include","this","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 files_arg(cls, output_type_name: str) -> Arg:
      """Returns a positional arg for ``files`` to specify file inputs to
      the command.
  
      Subclasses should include this to their class ``args``.
  
      Example:
  
          .. code-block:: python
  
              class Foo(FileOutputSubcommand):
  
                  args = (
  
                      FileOutputSubcommand.files_arg("FOO"),
  
                      # more args for Foo
  
                  ) + FileOutputSubcommand.other_args()
  
      """
      return (
          "files",
          Argument(
              metavar="DIRECTORY-OR-SCRIPT",
              nargs="+",
              help=(
                  "The app directories or scripts to generate %s for"
                  % (output_type_name)
              ),
              default=None,
          ),
      )
  
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 1 for calling the FileOutputSubcommand obj's underlying member method code with example usage: obj.files_arg(cls, output_type_name) and returns: str,  Argument