FORGE Course

Full Height |  Two columns |  Parts | 

Widget explanation

Widget explanation Apostolos Palladinos 12/05/2016 English
Widget

In this section we are going to explain the parts of the widget. You can see the environment of the widget below:

                                                                  

The above part is a linux-like command line prompt from where the users can execute the commands provided by the widget. In order to execute a command user types the desirable command and then presses enter. There is also a potential to see the previous executed commands. To navigate to the previous commands you can press up and down arrow. The middle part of the widget shows the last command executed by the user. Finally, the below part shows the output of the executed command, if output label is selected or by selecting the snippet label the user can provide input to a specific command of the widget( when this is not supported from the command line prompt input ). After pressing the snippet label the user types the proper input in the textbox below it and then he executes the desirable command. We are going to present the set of the commands of the widget in the next course parts. In addition, the following conventions will be considered in command's prototypes:

  • (value): Compatible values for a command argument.
  • (datastore): One of the supported datastores. Those are:
    • Startup.
    • Candidate.
    • Running.
    • Url( for supported commands ).
  • [-argument]: Optional command argument.