class_docstr: A simple framework for writing line-oriented command interpreters.
  
  These are often useful for test harnesses, administrative tools, and
  prototypes that will later be wrapped in a more sophisticated interface.
  
  A Cmd instance or subclass instance is a line-oriented interpreter
  framework.  There is no good reason to instantiate Cmd itself; rather,
  it's useful as a superclass of an interpreter class you define yourself
  in order to inherit Cmd's methods and encapsulate action methods.
class_docstr_tok: ["A","simple","framework","for","writing","line-oriented","command","interpreters",".","These","are","often","useful","for","test","harnesses",",","administrative","tools",",","and","prototypes","that","will","later","be","wrapped","in","a","more","sophisticated","interface",".","A","Cmd","instance","or","subclass","instance","is","a","line-oriented","interpreter","framework",".","There","is","no","good","reason","to","instantiate","Cmd","itself",";","rather",",","it","'s","useful","as","a","superclass","of","an","interpreter","class","you","define","yourself","in","order","to","inherit","Cmd","'s","methods","and","encapsulate","action","methods","."]
code: def get_names(self):
      # This method used to pull in base class attributes
      # at a time dir() didn't do it yet.
      return dir(self.__class__)
  
file_path: catboost/contrib/tools/python3/src/Lib/cmd.py
imports: import string, sys
label_desc: Use image node_id 14 for calling the Cmd obj's underlying member method code with example usage: obj.get_names() and returns: dir