CMD2 Persistent history InteractiveApp __init__ kwargs
Bug #1817325 reported by
Puissant Clement
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
New
|
Undecided
|
Unassigned |
Bug Description
I'd like to use the "persistent_
Current code:
class InteractiveApp(
def __init__(self, parent_app, command_manager, stdin, stdout):
cmd2.
What i'd expect:
class InteractiveApp(
def __init__(self, parent_app, command_manager, stdin, stdout, **kwargs):
cmd2.
Thanks,
Clement
To post a comment you must log in.
In order to access to this signature:
class Cmd(cmd.Cmd): history_ file: str='',
persistent_ history_ length: int=1000, startup_script: Optional[str]=None, use_ipython: bool=False,
transcript_ files: Optional[ List[str] ]=None) -> None:
def __init__(self, completekey: str='tab', stdin=None, stdout=None, persistent_