diff --git a/src/GamCommands.txt b/src/GamCommands.txt new file mode 100644 index 00000000..fbb78395 --- /dev/null +++ b/src/GamCommands.txt @@ -0,0 +1,675 @@ +This document describes the GAM command line syntax in modified BNF, see https://en.wikipedia.org/wiki/Backus-Naur_Form +Items on the command line are space separated, when an actual space character is required, it will be indicated by . +If an item contains spaces, it should be surrounded by " or '. + +[] optional item +() group items +* item may appear zero or more times ++ item may appear one or more times +| separates alternative items + +# Primatives + ::= 0|1|2|3|4|5|6|7|8|9 + ::= + + ::= |a|b|c|d|e|f|A|B|C|D|E|F + ::= an actual space character + ::= a string of characters, surrounded by " or ' if it contains spaces + ::= true|on|yes|enabled|1 += false|off|no|disabled|0 + ::= googleplus|google+|gplus|g+|googledrive|gdrive + ::= Google-Apps|Google-Coordinate|Google-Drive-storage|Google-Vault + ::= apps|gafb|gafw|gams|gau|unlimited|d4w|dfw|coordinate|vault|vfe| + drive-20gb|drive20gb|20gb|drive-50gb|drive50gb|50gb|drive-200gb|drive200gb|200gb|drive-400gb|drive400gb|400gb| + drive-1tb|drive1tb|1tb|drive-2tb|drive2tb|2tb|drive-4tb|drive4tb|4tb|drive-8tb|drive8tb|8tb|drive-16tb|drive16tb|16tb + ::= ascii|mbcs|utf-8|utf-8-sig|utf-16| + ::= pdf|openoffice|ms|microsoft|micro$oft + ::= ar|bn|bg|ca|zh-CN|zh-TW|hr|cs|da|nl|en|en-GB|et|fi|fr|de|el|gu|iw|is|in|it|ja|kn|ko|lv|lt|ms|ml|mr|no|or|fa|pl|pt-BR|pt-PT|ro|ru|sr|sk|sl|es|sv|tl|ta|te|th|tr|uk|ur|vi + +# Basic items built from primatives + ::= | + ::= [M|K|B] + ::= .../ + ::= # + ::= (.)+ + ::= @ + ::= + ::= + ::= + ::= + ::= + ::= + ::= + ::= -- + ::= --: +