Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: furnished readme by adding install steps... #18

Merged
merged 7 commits into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 50 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,66 @@
# Google Cloud Profile Switcher (GCPS)

[![Go](https://img.shields.io/badge/--00ADD8?logo=go&logoColor=ffffff)](https://golang.org/) [![GitHub license](https://img.shields.io/github/license/daftcreations/gcps)](https://github.com/daftcreations/gcps/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/v/tag/daftcreations/gcps)](https://github.com/daftcreations/gcps/releases)
[![Go](https://img.shields.io/badge/--00ADD8?logo=go&logoColor=ffffff)](https://golang.org/)
[![GitHub license](https://img.shields.io/github/license/daftcreations/gcps?style=for-the-badge)](https://github.com/daftcreations/gcps/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/v/tag/daftcreations/gcps?style=for-the-badge)](https://github.com/daftcreations/gcps/releases)
[![Release workflow](https://img.shields.io/github/workflow/status/daftcreation/gcps/goreleaser?style=for-the-badge)](https://github.com/daftcreations/gcps/actions/workflows/release.yml)
![Lines of code](https://img.shields.io/tokei/lines/github/daftcreations/gcps?label=Lines%20of%20code&style=for-the-badge)
[![Chat](https://img.shields.io/discord/960581263264219186?label=%20&logo=discord&style=for-the-badge)](https://discord.com/channels/960581263264219186/960618259244257330)

GCPS allows to switch between google cloud configuration profiles easily.
Switch between Google Cloud Profiles easily

## Installation
## Usage

<img src="docs/demo.gif" width="100%">

- Switch through list `gcps` will return configured profile.

- Switch to particular profile `gcps {profile_name}`

- Switch to previous profile `gcps -`

```bash
# for linux systems
curl -o gcps https://github.com/daftcreations/gcps/releases/download/latest/gcps-all-{os}-{architecture}
## Installation

chmod +x ./gcps
Golang

# move to your user bin to access it globally
mv ./gcps /usr/local/bin/
```shell
go install github.com/naman2706/gcps@latest
```

## Usage
OR

<img src="demo.gif" width="100%">
```shell
## Linux
curl -fsSL instl.sh/daftcreations/gcps/linux | bash

- Switch through list `gcps` will return configured profile.
## MacOS (m1 and intel)
curl -fsSL instl.sh/daftcreations/gcps/linux | bash

- Switch to particular profile `gcps {profile_name}`
## Windows
iwr -useb instl.sh/username/reponame/windows | iex
```

- Switch to previous profile `gcps -`
> probably have to source `.bashrc` or `.zshrc` or `.profile` to make it work

## Future Development

Check our project page
Check our project and socials

---

[![Discrod](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/channels/960581263264219186/960618259244257330)
[![Daft Creation](https://img.shields.io/youtube/channel/subscribers/UCDrfHGsm6bJI7Sli7vlcteA?label=YT&logo=youtube&style=for-the-badge)](https://www.youtube.com/c/DaftCreation/playlists)
[![Twitter](https://img.shields.io/twitter/follow/daftcreation?logo=twitter&style=for-the-badge)](https://twitter.com/daftcreation)
[![Instagram](https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white)](https://www.instagram.com/daft.creations/)

### Contributors

![Contributors](https://contrib.rocks/image?repo=Naman2706/gcps&columns=80)

### Stargazers over time

[![Stargazers over time](https://starchart.cc/Naman2706/gcps.svg)](https://starchart.cc/Naman2706/gcps)

---

> > *May the source be with you*
File renamed without changes