Skip to content

help with upgrading autocompletion to 0.9.15  #748

@teto

Description

@teto

I am looking into upgrading my code to 0.9.15. The new methods for autocomplete look useful but right now I wonder about
setattr(load_pcap1, argparse_completer.ACTION_ARG_CHOICES, ('path_complete', ))
ACTION_ARG_CHOICES seems to have disappeared.
a file has been renamed to argparse_custom too.
Anyway I've tried
setattr(load_pcap1, cmd2.argparse_completer.ATTR_CHOICES_CALLABLE, completer_method=cmd2.Cmd.path_complete)
to no avail

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions