General Querying Rules - sjc5897/AFRS GitHub Wiki

In order to query the user must be connected. If using the GUI version this is easy. Just hit the new connection button. This will open a tab and all actions will be associated with this connection id. To disconnect just close the tab. Connection is harder to deal with in the TUI. In the TUI all commands must begin with a connection id number. To connect, simply type connect. This creates and stores a new connection. Any command starting with the connection id number will be associated with this connection. To disconnect using the TUI, type the connection number , disconnect.

Another requirement for all commands is to end in a semicolon. If a command doesn't have a semicolon it will return a partial request. The system does store the strings until the semicolon so commands can be typed over multiple lines and then executed with a single semicolon. Both info,BOS,SEA,2; and info,BOS enter SEA,2; work. However doing info,BOS,SEA,2 enter info,LAX,BOS,2; would only run the BOS SEA flights.