cc_staff
1,486
edits
(previously link page has been moved, updated link to what seems an appropriate location.) |
No edit summary |
||
Line 176: | Line 176: | ||
**Allows group to be deleted. | **Allows group to be deleted. | ||
== | ==Command Line Interface (CLI) == <!--T:45--> | ||
*[https://docs.globus.org/cli/ Command Line Interface (CLI)] | ===Installing=== | ||
*[https://docs.globus.org/cli/legacy/ Hosted Command Line Interface (Legacy)] | The Globus command line interface is a python module which can be installed using pip. Below are the steps to install Globus CLI on one of our clusters. | ||
# Create a virtual environment to install the Globus CLI into (see [[Python#Creating_and_using_a_virtual_environment|creating and using a virtual environment]]).<source lang='console>$ virtualenv $HOME/.globus-cli-virtualenv</source> | |||
# Activate the virtual environment <source lang='console>$ source $HOME/.globus-cli-virtualenv/bin/activate</source> | |||
# Install Globus CLI into the virtual environment (see [[Python#Installing_modules| installing modules]]).<source lang='console>$ pip install globus-cli</source> | |||
# Then deactivate the virtual environment.<source lang='console'>$ deactivate</source> | |||
# To avoid having to load that virtual environment every time before using Globus, you can add it to your path. <source lang='console>$ export PATH=$PATH:$HOME/.globus-cli-virtualenv/bin | |||
$ echo 'export PATH=$PATH:$HOME/.globus-cli-virtualenv/bin'>>$HOME/.bashrc</source> | |||
See the Globus docs page on [https://docs.globus.org/cli/installation/ installation] for information on installing on different platforms, updating, and uninstalling. | |||
===Using=== | |||
* See the Globus [https://docs.globus.org/cli/ Command Line Interface (CLI) documentation] to learn about using the CLI. | |||
* Also see the Globus [https://docs.globus.org/cli/legacy/ Hosted Command Line Interface (Legacy) documentation], which allows authentication with SSH keys instead of requiring web based authentication. | |||
===Scripting=== | |||
* There is also a Python API, see the [https://globus-sdk-python.readthedocs.io/en/stable/ globus sdk python documentation]. | |||
== Support and More Information == <!--T:21--> | == Support and More Information == <!--T:21--> |