Providing dynamic context assist for a command line interface
First Claim
1. A method of providing assistance to a user of a system that has a command line interface (CLI), comprising:
- receiving at least one current command line interface (CLI) entry, wherein the at least one CLI entry includes one or more command names and one or more command flags; and
in response to detecting entry of at least one predefined execution key to the system;
generating a pop-up graphical user interface (GUI) window with one or more parameter values, wherein the number of parameter values presented in the pop-up GUI window changes based on the type of entry provided by the user, wherein a valid parameter value may be selected from a display of the one or more valid parameter values provided within the pop-up GUI window, and wherein only one of the displayed one or more valid parameter values may be selected for execution within the at least one CLI entry;
displaying the generated dynamic context assistance within the pop-up GUI window; and
in response to determining a parameter value of the at least one CLI entry is not completed;
determining a current state of the system, wherein the current state of the system is a configuration based upon one or more entered values and one or more executed values of one or more CLI entries after the at least one predefined execution key entry is received;
identifying, for the at least one CLI entry, one or more valid parameter values to be passed to each of the one or more command flags based on the current state of the system and the one or more command flags of the at least one CLI entry, wherein entry of the one or more valid parameter values in the at least one CLI entry completes the at least one CLI entry;
generating the dynamic context assistance for the command based on the current state of the system, wherein the dynamic context assistance comprises the one or more valid parameter values; and
displaying the generated dynamic context assistance comprising the one or more valid parameter values for the command;
wherein the at least one predefined execution key entry indicates a request to initiate a dynamic context assistancewherein the system is storage system.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for providing dynamic context assistance to a user of a system, such as a storage system. One or more current command line interface (CLI) entries that are entered in a CLI of the system are received and a current state of the system is determined. Dynamic context assistance is then generated for one or more current CLI entries based on entered values of the one or more CLI entries. In this regard, the dynamic context assistance can be generated and displayed in a text or graphical form when one or more dynamic context assist keys are entered in the CLI in conjunction with the current CLI entry.
32 Citations
17 Claims
-
1. A method of providing assistance to a user of a system that has a command line interface (CLI), comprising:
-
receiving at least one current command line interface (CLI) entry, wherein the at least one CLI entry includes one or more command names and one or more command flags; and in response to detecting entry of at least one predefined execution key to the system; generating a pop-up graphical user interface (GUI) window with one or more parameter values, wherein the number of parameter values presented in the pop-up GUI window changes based on the type of entry provided by the user, wherein a valid parameter value may be selected from a display of the one or more valid parameter values provided within the pop-up GUI window, and wherein only one of the displayed one or more valid parameter values may be selected for execution within the at least one CLI entry; displaying the generated dynamic context assistance within the pop-up GUI window; and in response to determining a parameter value of the at least one CLI entry is not completed; determining a current state of the system, wherein the current state of the system is a configuration based upon one or more entered values and one or more executed values of one or more CLI entries after the at least one predefined execution key entry is received; identifying, for the at least one CLI entry, one or more valid parameter values to be passed to each of the one or more command flags based on the current state of the system and the one or more command flags of the at least one CLI entry, wherein entry of the one or more valid parameter values in the at least one CLI entry completes the at least one CLI entry; generating the dynamic context assistance for the command based on the current state of the system, wherein the dynamic context assistance comprises the one or more valid parameter values; and displaying the generated dynamic context assistance comprising the one or more valid parameter values for the command; wherein the at least one predefined execution key entry indicates a request to initiate a dynamic context assistance wherein the system is storage system. - View Dependent Claims (2, 3, 4, 12, 13)
-
-
5. A storage system, comprising:
-
a display; a memory; and a processor coupled to the display, wherein the processor is configured with executable code to; receive at least one current command line interface (CLI) entry, wherein the at least one CLI entry includes one or more command names and one or more command flags; and in response to detecting entry of at least one predefined execution key; generate a pop-up graphical user interface (GUI) window with one or more parameter values, wherein the number of parameter values presented in the pop-up GUI window changes based on the type of entry provided by the user, wherein a valid parameter value may be selected from a display of the one or more valid parameter values provided within the pop-up GUI window, and wherein only one of the displayed one or more valid parameter values may be selected for execution within the at least one CLI entry; display the generated dynamic context assistance within the pop-up GUI window; and in response to determining a parameter value of the at least one CLI entry is not completed; determine a current state of the system, wherein the current state of the system is a configuration based upon one or more entered values and one or more executed values of one or more CLI entries after the at least one predefined execution key entry is received; identify, for the at least one CLI entry, one or more valid parameter values to be passed to each of the one or more command flags based on the current state of the system and the one or more command flags of the at least one CLI entry, wherein entry of the one or more valid parameter values in the at least one CLI entry completes the at least one CLI entry; generate the dynamic context assistance for the command based on the current state of the system, wherein the dynamic context assistance comprises the one or more valid parameter values; and display the generated dynamic context assistance comprising the one or more valid parameter values for the command; wherein the at least one predefined execution key entry indicates a request to initiate a dynamic context assistance. - View Dependent Claims (6, 7, 8, 14, 15)
-
-
9. A computer program product comprising:
-
a non-transitory computer-usable storage medium for containing and storing program code; and program code embodied on the non-transitory computer storage medium that when executed by a processor provides the functions of; receiving at least one current command line interface (CLI) entry, wherein the at least one CLI entry includes one or more command names and one or more command flags; and in response to detecting entry of at least one predefined execution key to a storage system; generating a pop-up graphical user interface (GUI) window with one or more parameter values, wherein the number of parameter values presented in the pop-up GUI window changes based on the type of entry provided by the user, wherein a valid parameter value may be selected from a display of the one or more valid parameter values provided within the pop-up GUI window, and wherein only one of the displayed one or more valid parameter values may be selected for execution within the at least one CLI entry; and displaying the generated dynamic context assistance within the pop-up GUI window; and in response to determining a parameter value of the at least one CLI entry is not completed; determining a current state of the system, wherein the current state of the system is a configuration based upon one or more entered values and one or more executed values of one or more CLI entries after the at least one predefined execution key entry is received; identifying, for the at least one CLI entry, one or more valid parameter values to be passed to each of the one or more command flags based on the current state of the system and the one or more command flags of the at least one CLI entry, wherein entry of the one or more valid parameter values in the at least one CLI entry completes the at least one CLI entry; generating the dynamic context assistance for the command based on the current state of the system, wherein the dynamic context assistance comprises the one or more valid parameter values; and displaying the generated dynamic context assistance comprising the one or more valid parameter values for the command; wherein the at least one predefined execution key entry indicates a request to initiate a dynamic context assistance. - View Dependent Claims (10, 11, 16, 17)
-
Specification