awsdefault-gtk3

command
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

awsdefault-gtk3 UI

Usage

$ awsdefault-gtk3

this will start the UI. Each click will update the credentials file and close the application. awsdefault-gkt3-example1

Note i3block was used for the status bar in this example. You can find the config in the doc folder. You will also need to install the cli version of awsdefault, for updating the text in the i3block.

If you need this window permanently open, add the parameter -permanent and run:

$ awsdefault-gtk3 -permanent

Installation

Option 1 — Download binaries

precompiled binaries for Linux, Windows and MacOS are available at the [release] page.

curl 

Option 2 — Compile it

Install the dependencies
  • Go is required
  • gtk3 is required
  • clone this repository:
$ go get github.com/peterbueschel/awsdefault
$ go get github.com/go-ini/ini

Note if you get error messages like could not determine kind of name for ..., check this issue report

$ go get github.com/gotk3/gotk3/gtk
  • optional godebug; for testing via go test ./...
$ go get github.com/kylelemons/godebug/pretty
Install the Go binary
Linux
$ cd $GOPATH/src/github.com/peterbueschel/awsdefault/cmd/awsdefault-gtk3/ && go install

if everything went well, the binary can now be found in the directory $GOPATH/bin

Configure your environment (only first time)

Set the environment variable AWS_PROFILE to default (aws userguide).

Linux

Add the following line to your .xinitrc, .zshrc or .bashrc file:

export AWS_PROFILE=default
Windows

TODO

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL