The Globus command line interface, or CLI, provides access to the Globus service via a restricted command shell. We continue to streamline the Globus CLI, and will be making changes in an upcoming release to better align the CLI as a tool for interactive and simple scripting use.
The following changes will be made to the CLI in the upcoming release:
- GSI-SSH activation (the -g option) will be removed from all commands except endpoint-activate. Users can use the endpoint-activate command to explicitly activate endpoints.
- Pattern support has been removed from the endpoint-activate command, and a single endpoint is required as input. When using GSI SSH activation (the -g option), the endpoint-activate will accept a list of endpoints.
- Pattern support has been removed from the endpoint-deactivate command, and the command requires a list of one or more endpoints.
- Pattern support has been removed from the endpoint-remove and endpoint-modify commands, and the commands only accept a single endpoint as input.
- The endpoint-remove command cannot be used with endpoints the user does not own. Previously, it would accept an endpoint from the user’s "CLI recently used" list, and remove it from the list.
- The deprecated --port-range option to the endpoint-modify command will be removed.
- Commands that access an endpoint (ls, mkdir, transfer, etc.) will try to automatically activate the endpoint, without any user input, if the remaining credential lifetime is less than 30 minutes. If this fails, the command will direct the user to run endpoint-activate.
- The use of versioning in the CLI commands will be deprecated, and only a single version of the command line interface will be supported.
For any backwards incompatible changes, an alternative will be provided allowing users to make the transition, before the change is made in production.
If you have any questions on the changes or modifying your use of the CLI to accommodate these changes, please contact Globus Support.