idle-code/PyContextShell

Action validators

idle-code opened this issue · 0 comments

An action could be combined with validator method regulating when this action could be performed.
For example in Filesystem root, there is list actions which is not valid when target is a file.

Action and CallableAction (with action_from_function decorator) classes should be extended to support additional validator property.