CLI
- Download the IBM Cloud CLI
- Log in to IBM Cloud
Run the command below in a terminal to target Namespace: [email protected]_dev$ibmcloud login -a cloud.ibm.com -o “[email protected]” -s “dev”
After this step, you can use the IBM Cloud CLI to change the target region and namespace.
- Install the Cloud Functions plug-in
$ibmcloud plugin install cloud-functions
- Target a namespace
Make sure to target this namespace’s resource group with ibmcloud target -g [name of resource group]
You can list available resource groups using the command ibmcloud resource groups
$ibmcloud target -o [email protected] -s dev
- Test it
Perform a list command to display all entities in the current targeted namespace.
$ibmcloud fn list
Leave A Comment?