_cmdline module
- exception pyflyby._cmdline.AbortActions
- exception pyflyby._cmdline.Exit1
- class pyflyby._cmdline.Modifier(modifier, filename)
- _tempfile()
- property input_content
- property input_content_filename
- property output_content
- property output_content_filename
- pyflyby._cmdline._default_on_error(filename)
- pyflyby._cmdline._sigpipe_handler(*args)
- pyflyby._cmdline.action_exit1(m)
- pyflyby._cmdline.action_external_command(command)
- pyflyby._cmdline.action_ifchanged(m)
- pyflyby._cmdline.action_print(m)
- pyflyby._cmdline.action_query(prompt='Proceed?')
- pyflyby._cmdline.action_replace(m)
- pyflyby._cmdline.filename_args(args, on_error=<function _default_on_error>)
Return list of filenames given command-line arguments.
- Return type:
list
of Filename
- pyflyby._cmdline.hfmt(s)
- pyflyby._cmdline.maindoc()
- pyflyby._cmdline.parse_args(addopts=None, import_format_params=False, modify_action_params=False, defaults=None)
Do setup for a top-level script and parse arguments.
- pyflyby._cmdline.print_version_and_exit(extra=None)
- pyflyby._cmdline.process_actions(filenames, actions, modify_function, reraise_exceptions=())
- pyflyby._cmdline.symlink_callback(option, opt_str, value, parser)
- pyflyby._cmdline.symlink_error(m)
- pyflyby._cmdline.symlink_follow(m)
- pyflyby._cmdline.symlink_replace(m)
- pyflyby._cmdline.symlink_skip(m)
- pyflyby._cmdline.syntax(message=None, usage=None)