From 62eccdac73d852d3ab9df06497bc8c9063e3d283 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Wed, 5 Aug 2020 15:08:37 -0400 Subject: Verify that a completer function is defined in a CommandSet before passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation --- docs/features/modular_commands.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/features') diff --git a/docs/features/modular_commands.rst b/docs/features/modular_commands.rst index 9823d3ac..d19c3b45 100644 --- a/docs/features/modular_commands.rst +++ b/docs/features/modular_commands.rst @@ -8,7 +8,8 @@ Cmd2 also enables developers to modularize their command definitions into Comman a logical grouping of commands within an cmd2 application. By default, all CommandSets will be discovered and loaded automatically when the cmd2.Cmd class is instantiated with this mixin. This also enables the developer to dynamically add/remove commands from the cmd2 application. This could be useful for loadable plugins that -add additional capabilities. +add additional capabilities. Additionally, it allows for object-oriented encapsulation and garbage collection of state +that is specific to a CommandSet. Features ~~~~~~~~ -- cgit v1.2.1