Browse Prior Art Database

In-line Editing of CLI Query Results

IP.com Disclosure Number: IPCOM000223317D
Publication Date: 2012-Nov-15
Document File: 3 page(s) / 77K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a novel method of displaying controls for a graphical user interface (GUI) used to surface a command-line interface (CLI). The method does not mask the CLI, but instead enhances usability and learnability, so that the user can click on modifiable attributes in resource lists, edit those attributes, and generate a CLI command that, when issued, modifies the attribute in the manner specified.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 3

In-line Editing of CLI Query Results

This invention consists of a method of displaying controls for a GUI used to surface a CLI so that it does not mask the CLI, but instead enhances usability and learnability. This allows the user to click on modifiable attributes in resource lists, edit those attributes, and generate a CLI command that, when issued, modifies the attribute in the manner specified.

In a preferred implementation, the system has an Input Console and a separate output area for CLI commands. (Figure 1)

Figure 1: Example implementation

In this interface, this invention appears as the ability for a user to click on a modifiable attribute in the resource list outputs shown. For example, the user clicks on "100.0" capacity value in the row for volume 513D. This causes the attribute to become a text field.

Figure 2: User clicks on 100.0

1


Page 02 of 3

Modifying this field and then pressing Enter displays the new command in the Input Console. For the above example, if 200.0 were entered, the following command would display.

Figure 2: Command display

The user then hits Enter again to execute the command or further modify the command to enhance it before submitting it. In an alternative implementation, the command could be executed when the user hits Enter. This would accelerate the user experience at the cost of flexibility.

This invention consists of modifications made to the GUI application managing the CLI.


• Scan table inputs and put them into a database. Whenever a command that lists resources is issued, they are saved to a database that stores all the output for that command including the:


- Command name


- Name of every column displayed


- Value for each row of every column

The list of commands that list resources is determined a priori. The command names are thus known, and the columns listed are discovered and saved in order when the command is parsed. The values for each cell are also discovered and saved for later look-up keyed by row number and column number. It surfaces the following actions in an object called the "Command Result" object:


- String getCommandName() - returns the command name for this saved command result


- int getNumColumns() - returns the number of columns in the command result

2


Page 03 of 3


- int getNumRows() - returns the number of rows in the command result


- String getColumnName(int columnNumber) - returns the...