System and method for processing command line interface commands

US10417331B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10417331-B2
Application numberUS-201615074880-A
CountryUS
Kind codeB2
Filing dateMar 18, 2016
Priority dateMar 18, 2016
Publication dateSep 17, 2019
Grant dateSep 17, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

System and method for processing command line interface (CLI) commands of a CLI-based application, which include a help-like function to expose usage information of the CLI commands, use a database of CLI usage information to search for at least partial match to user query without user input to call the help-like function of CLI commands. As a result, at least one candidate CLI command from the CLI commands that corresponds to the at least partial match is selected and presented on a user interface for user selection to execute a CLI command.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for processing command line interface (CLI) commands of a CLI-based application, the CLI commands including a help-like function to expose usage information of the CLI commands, the method comprising: receiving user query at a user interface; searching a database of CLI usage information for at least partial match to the user query without user input to call the help-like function of the CLI commands to access the usage information of the CLI commands; selecting at least one candidate CLI command from the CLI commands that corresponds to the at least partial match; presenting the at least one candidate CLI command on the user interface for user selection to execute a CLI command; determining that an output of a candidate CLI command is dynamic, wherein a dynamic output is a transient output of a CLI command with at least one input parameter that is non-transient; searching the output of the candidate CLI command in a cache pool to find the output; and using the output in the cache pool for the candidate CLI command without actually executing the candidate CLI command at the CLI-based application to deploy the output for immediate consumption. 2. The method of claim 1 , further comprising automatically filling in a parameter for a selected candidate CLI command in the user interface in response to user input. 3. The method of claim 1 , further comprising automatically validating a parameter for a selected candidate CLI command at the user interface before the selected candidate CLI command is executed by the CLI-based application. 4. The method of claim 1 , further comprising: determining that an output of another candidate CLI command is not transient, wherein a transient output is a non-cacheable output of a CLI command with at least one input parameter that is transient; searching the output of the another candidate CLI command in the cache pool to find the output of the another candidate CLI command; and using the output of the another candidate CLI command in the cache pool for the another candidate CLI command without actually executing the another candidate CLI command at the CLI-based application to deploy the output of the another candidate CLI command for immediate consumption. 5. The method of claim 4 , further comprising, when an output of a target candidate CLI command is not found in the output cache, executing the target candidate CLI command at the CLI-based application and storing a resulting output of the target candidate CLI command in the output cache for future use. 6. The method of claim 1 , further comprising: determining that an output of another candidate CLI command is dynamic, wherein a dynamic output is a transient output of a CLI command with at least one input parameter that is non-transient; searching the output of the another candidate CLI command in the cache pool and determining that the output of the another candidate CLI command is not in the cache pool; and executing the another candidate CLI command at the CLI-based application twice to deploy a first resulting processing component for immediate consumption and to deploy a second resulting processing component for storing the second resulting processing component of the another candidate CLI command in the cache pool for future use. 7. The method of claim 6 , wherein the second resulting processing component is stored in the cache pool in a quiesced state. 8. A non-transitory computer-readable storage medium containing program instructions for a method for processing command line interface (CLI) commands of a CLI-based application, the CLI commands including a help-like function to expose usage information of the CLI commands, wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to perform steps comprising: receiving user query at a user interface; searching a database of CLI usage information for at least partial match to the user query without user input to call the help-like function of the CLI commands to access the usage information of the CLI commands; selecting at least one candidate CLI command from the CLI commands that corresponds to the at least partial match; presenting the at least one candidate CLI command on the user interface for user selection to execute a CLI command; determining that an output of a candidate CLI command is dynamic, wherein a dynamic output is a transient output of a CLI command with at least one input parameter that is non-transient: searching the output of the candidate CLI command in a cache pool to find the output; and using the output in the cache pool for the candidate CLI command without actually executing the candidate CLI command at the CLI-based application to deploy the output for immediate consumption. 9. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises automatically filling in a parameter for a selected candidate CLI command in the user interface in response to user input. 10. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises automatically validating a parameter for a selected candidate CLI command at the user interface before the selected candidate CLI command is executed by the CLI-based application. 11. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises: determining that an output of another candidate CLI command is not transient, wherein a transient output is a non-cacheable output of a CLI command with at least one input parameter that is transient; searching the output of the another candidate CLI command in the cache pool to find the output of the another candidate CLI command; and using the output of the another candidate CLI command in the cache pool for the another candidate CLI command without actually executing the another candidate CLI command at the CLI-based application to deploy the output of the another candidate CLI command for immediate consumption. 12. The non-transitory computer-readable storage medium of claim 11 , wherein the method further comprises, when an output of a target candidate CLI command is not found in the output cache, executing the target candidate CLI command at the CLI-based application and storing a resulting output of the target candidate CLI command in the output cache for future use. 13. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises: determining that an output of another candidate CLI command is dynamic, wherein a dynamic output is a transient output of a CLI command with at least one input parameter that is non-transient; searching the output of the another candidate CLI command in the cache pool and determining that the output of the another candidate CLI command is not in the cache pool; and executing the another candidate CLI command at the CLI-based application twice to deploy a first resulting processing component for immediate consumption and to deploy a second resulting processing component for storing the second resulting processing component of the another candidate CLI command in the cache pool for future use. 14. The non-transitory computer-readable storage medium of claim 8 , wherein the second resulting processing component is stored in the cache pool in a quiesced state. 15. A system comprising: memory; and at least one processor programmed to: receive user query at a user interface; search a database of CLI usage information for at least partial match to the user query without use

Assignees

Inventors

Classifications

  • Command shells · CPC title

  • G06F40/274Primary

    Converting codes to words; Guess-ahead of partial word inputs · CPC title

  • Help systems · CPC title

  • G06F17/276Primary

    Physics · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10417331B2 cover?
System and method for processing command line interface (CLI) commands of a CLI-based application, which include a help-like function to expose usage information of the CLI commands, use a database of CLI usage information to search for at least partial match to user query without user input to call the help-like function of CLI commands. As a result, at least one candidate CLI command from the…
Who is the assignee on this patent?
Vmware Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/45512. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 17 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).