B ORDS Legacy Commands and New ORDS CLI Commands
Table B-1 ORDS Legacy and New CLI Commands
| Legacy Command | New CLI Command | Description | |
|---|---|---|---|
| 
 | ords --config /path/to/config
                                <command>Example of using config
                            option: | Specifies the ORDS configuration folder that contains configuration files. New CLI Command:If the configuration folder is not specified, your current working directory is your configuration folder. The command does not store the configuration location. You must provide the configuration location or use the default configuration location. Legacy configuration directory: The configuration location is
                                stored in  | |
| java -jar ords.war install
                            advanced |  | Install ORDS in interactive mode. Legacy install advanced: Prompts for the configuration information only if the ORDS configuration does not exist. Prompts if you want to run in a standalone mode. | |
| 
 
 
 | ords --config /path/to/config install
                                <OPTIONS> | Install ORDS in a non-interactive mode. No prompting for new install
                                CLI command if the user provides install options and not specifying
                                the  Legacy install simple or no command :( Prompts for the configuration information only if the ORDS configuration does not exist. If the configuration file does not exist and if the default parameter file does not contain any configuration values, then it prompts. | |
| java -jar ords.war
                            schema | ords --config /path/to/config
                                install | Install or upgrade ORDS only. The
                            configuration file is not updated. New CLI Command:
                                     | |
| 
 
 | 
 
 
 
 | Uninstalls ORDS in interactive mode. | |
| 
 
 | ords --config /path/to/config
                                uninstall <OPTIONS> | Uninstall ORDS in non-interactive mode. If
                            you provide uninstall options and not specify the -ior--interactiveoption, then you are not prompted for
                            new uninstall CLI command. | |
| java -jar ords.war set-property
                                <KEY> <VALUE> | ords --config /path/to/config config
                                set <KEY> <VALUE> | Updates the setting in the configuration
                                file. See Updating the Configuration Settings for a list of options. | |
| java -jar ords.war
                                standalone | ords --config /path/to/config
                                serve | Launch ORDS in standalone mode. | |
| java -jar ords.war user
                                <USERNAME> ROLES | ords --config /path/to/config config
                                user add <NAME> <ROLE> | Create the user and its roles to provide permission to the ORDS REST Services. | |
| java -jar ords.war validate |  | Repair ORDS in interactive mode. | |
| java -jar ords.war validate --silent | ords --config /path/to/conf install repair
                                <OPTIONS> | Repair ORDS in non-interactive mode. There is no prompting for
                                install repair CLI command if user provides install options afer
                                omitting the  |