Super Prompt - Google Cloud SDK Plugin

A plugin for Super Prompt that indicates the id of the selected project in current gcloud context, just like what the prompt is in Cloud Shell of Google Cloud.

System Requirements

Install

Super Prompt - Google Cloud SDK Plugin has not been published to PyPI yet.

Thus, you can install from this Git repo:

pip3 install git+https://github.com/jacky9813/super_prompt_plugin_gcloud
super-prompt config enable-plugin gcloud

Configuration

Option Name Default Value Description
plugins.gcloud.adc_notice_time PT8H

An duration in ISO8601 format that, if the application default credentials (ADC) has not been updated for the period, the G will trun red to notice the user.

User can use gcloud auth login --update-adc to update the ADC.