Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dinamically adding and removing commands and menu #15

Closed
daniele77 opened this issue Feb 17, 2017 · 0 comments
Closed

Dinamically adding and removing commands and menu #15

daniele77 opened this issue Feb 17, 2017 · 0 comments
Assignees

Comments

@daniele77
Copy link
Owner

It's useful adding and removing commands and submenus during the working session. For example, when loading/unloading a plugin at run-time we should be able to add/remove the related cli commands.

To implement this, maybe we should get rid of std::unique_ptr for commands and menus. We need to return an handle when adding commands/submenus, to remove them at a later time.

@daniele77 daniele77 self-assigned this Feb 17, 2017
daniele77 pushed a commit that referenced this issue Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant