command
module
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jun 10, 2021
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
cloudshell
cloudshell
gives access to the Google Cloud Shell from the terminal.
Installation
From binary
Download the precompiled binary from releases page.
From source
-
Install the latest version of Go if you haven't yet.
-
Install with go install
:
$ go install go.astrophena.name/cloudshell@latest
go install
puts binaries by default to $GOPATH/bin
(e.g.
~/go/bin
).
Use GOBIN
environment variable to change this behavior.
Setup
- Create a project in the Google API Console.
- Enable the Cloud Shell API.
- Create credentials, download and place them to:
$XDG_CONFIG_HOME/cloudshell/client_secrets.json
(Linux)
$HOME/Library/Application Support/cloudshell/client_secrets.json
(macOS)
- Run any command (e.g.
cloudshell info
) to authenticate.
- Add your SSH key by running
cloudshell key add
.
- Try to connect:
cloudshell connect
.
License
MIT © Ilya Mateyko
Documentation
¶
Command cloudshell gives access to Google Cloud Shell from the terminal.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.