Skip to content

What should show in cmd2 history? #545

@kmvanbrunt

Description

@kmvanbrunt

@kotfu @tleonhardt
This question pertains to cmd2's history and not readline's.

Currently we put what the user typed in history. (statement.raw) Is there any reason why can't put what was run instead? (statement.command_and_args)

That would make it clearer when things like shortcuts and aliases are entered. You will have a record of what actually occurred.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions