search
Use this command to search for a package.
Purpose
The search command is used to search for packages on the library server. The search results are written to stdout.Parameters
ram search options_without_values package_ID package_version options_with_values| Argument | Description | Required |
|---|---|---|
| -v | If you specify the -v option and an asset is found, the following message is displayed: Package full_package_identifier with version version_number and name package_ID was found. If you specify the -v option and an asset is not found, the following message is displayed: A package id or query string is required when searching for a package. If you do not specify the -v option and an asset is found, the ID and version of the asset are displayed. If you do not specify the -v option and an asset is not found, nothing is displayed. | No |
| package_ID | The ID of the package to search for. | Yes, unless you provide a query string. |
| package_version | The version of the package to search for. If you do not supply a package version, the most recent version is searched for. If you supply a complete and explicit package version, then that version is searched for. If you supply a package version that includes the wildcard (*) character, then the most recent version is searched for. | No |
| -q query | Use the -q parameter to provide a query string to use when searching. | |
| -config configuration_file | The complete path to the configuration file to use for communication with the library server. If you do not specify a configuration file on the command line, the default configuration file in the .ram subdirectory in the home directory of the current user is used. | No, as long as the default configuration file exists in the .ram subdirectory of the home directory of the current user. |
ram search newpackage 2.1.0-*ram search newpackage -q "package One"-ram search newpackage -config myConfig-