@sebastienrousseau/dotfiles 0.2.461 → 0.2.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -92
- package/dist/Makefile +3 -3
- package/dist/bin/backup.js +3 -2
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/copy.js +2 -1
- package/dist/bin/copy.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +2 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/transfer.js +1 -1
- package/dist/bin/unpack.js +1 -1
- package/dist/filesizes.txt +354 -288
- package/dist/lib/aliases/archives/README.md +84 -0
- package/dist/lib/aliases/archives/archives.aliases.sh +86 -0
- package/dist/lib/aliases/cd/README.md +46 -0
- package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
- package/dist/lib/aliases/chmod/README.md +70 -0
- package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
- package/dist/lib/aliases/clear/README.md +38 -0
- package/dist/lib/aliases/clear/clear.aliases.sh +40 -0
- package/dist/lib/aliases/configuration/README.md +46 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +43 -0
- package/dist/lib/aliases/default/README.md +62 -0
- package/dist/lib/aliases/default/default.aliases.sh +60 -173
- package/dist/lib/aliases/dig/README.md +50 -0
- package/dist/lib/aliases/dig/dig.aliases.sh +46 -0
- package/dist/lib/aliases/du/README.md +35 -0
- package/dist/lib/aliases/du/du.aliases.sh +37 -0
- package/dist/lib/aliases/editor/README.md +47 -0
- package/dist/lib/aliases/editor/editor.aliases.sh +52 -0
- package/dist/lib/aliases/find/README.md +29 -0
- package/dist/lib/aliases/find/find.aliases.sh +34 -0
- package/dist/lib/aliases/gcloud/README.md +148 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +144 -120
- package/dist/lib/aliases/git/git.aliases.sh +134 -524
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +289 -1028
- package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -0
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +10 -47
- package/dist/lib/aliases/list/list.aliases.sh +35 -0
- package/dist/lib/aliases/make/make.aliases.sh +15 -0
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +13 -0
- package/dist/lib/aliases/npm/npm.aliases.sh +24 -0
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +37 -38
- package/dist/lib/aliases/ps/ps.aliases.sh +12 -0
- package/dist/lib/aliases/rsync/rsync.aliases.sh +11 -0
- package/dist/lib/aliases/rust/rust.aliases.sh +50 -0
- package/dist/lib/aliases/subversion/subversion.aliases.sh +41 -119
- package/dist/lib/aliases/sudo/sudo.aliases.sh +11 -0
- package/dist/lib/aliases/tmux/tmux.aliases.sh +12 -10
- package/dist/lib/aliases/update/update.aliases.sh +38 -0
- package/dist/lib/aliases/uuid/uuid.aliases.sh +10 -0
- package/dist/lib/aliases/wget/wget.aliases.sh +13 -0
- package/dist/lib/aliases.sh +10 -4
- package/dist/lib/configurations/bash/bashrc +4 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +2 -2
- package/dist/lib/configurations/default/constants.sh +9 -9
- package/dist/lib/configurations/default/editor.sh +2 -2
- package/dist/lib/configurations/default/prompt.sh +2 -2
- package/dist/lib/configurations/input/inputrc +2 -2
- package/dist/lib/configurations/nano/nanorc +2 -2
- package/dist/lib/configurations/profile/profile +2 -2
- package/dist/lib/configurations/tmux/default +2 -2
- package/dist/lib/configurations/tmux/display +2 -2
- package/dist/lib/configurations/tmux/linux +2 -2
- package/dist/lib/configurations/tmux/navigation +2 -2
- package/dist/lib/configurations/tmux/panes +2 -2
- package/dist/lib/configurations/tmux/theme +3 -3
- package/dist/lib/configurations/tmux/tmux +2 -2
- package/dist/lib/configurations/tmux/vi +5 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +6 -5
- package/dist/lib/configurations.sh +6 -3
- package/dist/lib/functions/cdls.sh +3 -10
- package/dist/lib/functions/changediskpwd.tmp +3 -3
- package/dist/lib/functions/code.tmp +3 -3
- package/dist/lib/functions/countdown.tmp +2 -2
- package/dist/lib/functions/curlheader.sh +5 -5
- package/dist/lib/functions/curltime.sh +6 -6
- package/dist/lib/functions/encode64.sh +2 -2
- package/dist/lib/functions/environment.sh +2 -2
- package/dist/lib/functions/extract.sh +2 -2
- package/dist/lib/functions/genpwd.sh +2 -2
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/history-all.tmp +2 -2
- package/dist/lib/functions/hostinfo.sh +2 -2
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +2 -2
- package/dist/lib/functions/keygen.sh +2 -2
- package/dist/lib/functions/last.sh +2 -2
- package/dist/lib/functions/logout.sh +2 -2
- package/dist/lib/functions/lowercase.sh +2 -2
- package/dist/lib/functions/macos.sh +2 -2
- package/dist/lib/functions/matrix.sh +5 -5
- package/dist/lib/functions/{mcd.sh → mcd.tmp} +2 -2
- package/dist/lib/functions/mount_read_only.sh +2 -2
- package/dist/lib/functions/myproc.sh +2 -2
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +2 -2
- package/dist/lib/functions/ql.sh +2 -2
- package/dist/lib/functions/rd.sh +2 -2
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +2 -2
- package/dist/lib/functions/rm.tmp +2 -2
- package/dist/lib/functions/rps.tmp +2 -2
- package/dist/lib/functions/showhiddenfiles.sh +2 -2
- package/dist/lib/functions/size.sh +2 -2
- package/dist/lib/functions/stopwatch.sh +2 -2
- package/dist/lib/functions/trash.tmp +2 -2
- package/dist/lib/functions/tree.tmp +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/uuidgen.tmp +1 -1
- package/dist/lib/functions/view-source.sh +2 -2
- package/dist/lib/functions/vscode.sh +2 -2
- package/dist/lib/functions/whoisport.sh +2 -2
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +6 -3
- package/dist/lib/history.sh +24 -21
- package/dist/lib/paths/ant/ant.paths.sh +4 -4
- package/dist/lib/paths/default/default.paths.sh +2 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
- package/dist/lib/paths/java/java.paths.sh +5 -4
- package/dist/lib/paths/maven/maven.paths.sh +6 -5
- package/dist/lib/paths/node/node.paths.sh +2 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/lib/paths/python/python.paths.sh +21 -16
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
- package/dist/lib/paths.sh +6 -3
- package/dist/scripts/backup.sh +2 -2
- package/dist/scripts/banner.sh +2 -2
- package/dist/scripts/build.sh +2 -2
- package/dist/scripts/clean.sh +2 -2
- package/dist/scripts/compile.sh +2 -2
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +2 -2
- package/dist/scripts/download.sh +2 -2
- package/dist/scripts/help.sh +2 -2
- package/dist/scripts/ssh.sh +54 -0
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +7 -7
- package/dist/lib/exit.sh +0 -10
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# Google Cloud Aliases
|
|
2
|
+
|
|
3
|
+
These aliases provide shortcuts for common Google Cloud commands. To use them, add the following lines to your `.bashrc` or `.bash_profile` file.
|
|
4
|
+
|
|
5
|
+
## Aliases
|
|
6
|
+
|
|
7
|
+
### Authenticate and authorize
|
|
8
|
+
|
|
9
|
+
- `gcaasa`: Like gcloud auth login but with service account credentials.
|
|
10
|
+
- `gcacd`: Configure Docker to use gcloud as a credential helper.
|
|
11
|
+
- `gcal`: List the accounts you are logged in with.
|
|
12
|
+
- `gcapat`: Print the access token for the current active account.
|
|
13
|
+
- `gcar`: Revoke credentials for the current active account.
|
|
14
|
+
|
|
15
|
+
### App Engine
|
|
16
|
+
|
|
17
|
+
- `gcapb`: Open the App Engine app in your default browser.
|
|
18
|
+
- `gcapc`: Create a new App Engine app.
|
|
19
|
+
- `gcapd`: Deploy an App Engine app.
|
|
20
|
+
- `gcapl`: Read the logs for an App Engine app.
|
|
21
|
+
- `gcapv`: List the versions of an App Engine app.
|
|
22
|
+
|
|
23
|
+
### Cloud SDK configuration and management
|
|
24
|
+
|
|
25
|
+
- `gccca`: Switch to an existing named configuration.
|
|
26
|
+
- `gcccc`: Create a new named configuration.
|
|
27
|
+
- `gcccl`: Display a list of all available configurations.
|
|
28
|
+
- `gccl`:Display all the properties for the current configuration.
|
|
29
|
+
- `gccgv`: Fetch value of a Cloud SDK property.
|
|
30
|
+
- `gccs`: Define a property (like compute/zone) for the current configuration.
|
|
31
|
+
- `gccsp`: Set a default Google Cloud project to work on.
|
|
32
|
+
- `gccu`: Update your Cloud SDK to the latest version.
|
|
33
|
+
- `gci`: Initialize, authorize, and configure the gcloud tool.
|
|
34
|
+
- `gcinf`: Display current gcloud tool environment details.
|
|
35
|
+
- `gciov`: Verify your email address for Google Cloud.
|
|
36
|
+
|
|
37
|
+
### Container
|
|
38
|
+
|
|
39
|
+
- `gcccc`: Create a cluster to run GKE containers.
|
|
40
|
+
- `gcccg`: Update kubeconfig to get kubectl to use a GKE cluster.
|
|
41
|
+
- `gcccl`: List clusters for running GKE containers.
|
|
42
|
+
- `gccil`: List tag and digest metadata for a container image.
|
|
43
|
+
- `gcd`: A convenience command group for all container-related commands.
|
|
44
|
+
|
|
45
|
+
### IAM
|
|
46
|
+
|
|
47
|
+
- `gciamk`: List a service account's keys.
|
|
48
|
+
- `gciaml`: List IAM grantable roles for a resource.
|
|
49
|
+
- `gciamp`: Add an IAM policy binding to a service account.
|
|
50
|
+
- `gciamr`: Create a custom role for a project or org
|
|
51
|
+
- `gciamd`: Delete a custom role for a project or org.
|
|
52
|
+
- `gciampd`: Remove an IAM policy binding from a service account.
|
|
53
|
+
- `gciamro`: Describe a custom role for a project or org.
|
|
54
|
+
- `gciamsp`: Replace the IAM policy of a service account.
|
|
55
|
+
- `gciamu`: Undelete a custom role for a project or org.
|
|
56
|
+
- `gciamup`: Update a service account.
|
|
57
|
+
- `gcimp`: List available Cloud Identity domains.
|
|
58
|
+
- `gcimpe`: Add an IAM policy binding to a Cloud Identity domain.
|
|
59
|
+
- `gcimpr`: Remove an IAM policy binding from a Cloud Identity domain.
|
|
60
|
+
- `gcsac`: Obtain an access token for the Google Cloud APIs.
|
|
61
|
+
|
|
62
|
+
### Compute
|
|
63
|
+
|
|
64
|
+
- `gcc`: A convenience command group for all compute-related commands.
|
|
65
|
+
- `gcpa`: Add an IAM policy binding to a specified project.
|
|
66
|
+
- `gcpc`: Copy files.
|
|
67
|
+
- `gcpd`: Display metadata for a project (including its ID).
|
|
68
|
+
- `gcpdown`: Stop instance.
|
|
69
|
+
- `gcpds`: Create snapshot of persistent disks.
|
|
70
|
+
- `gcpid`: Display a VM instance's details.
|
|
71
|
+
- `gcpil`: List all VM instances in a project.
|
|
72
|
+
- `gcprm`: Delete instance.
|
|
73
|
+
- `gcpsk`: Delete a snapshot.
|
|
74
|
+
- `gcpssh`: Connect to a VM instance by using SSH.
|
|
75
|
+
- `gcpup`: Start instance.
|
|
76
|
+
- `gcpzl`:List Compute Engine zones.
|
|
77
|
+
|
|
78
|
+
### Deployment Manager
|
|
79
|
+
|
|
80
|
+
- `gcdm`: A convenience command group for all deployment-manager-related commands.
|
|
81
|
+
- `gcdma`: Create a new deployment.
|
|
82
|
+
- `gcdmd`: Delete a deployment.
|
|
83
|
+
- `gcdmg`: Describe a deployment.
|
|
84
|
+
- `gcdml`: List all deployments.
|
|
85
|
+
- `gcdmu`: Update a deployment.
|
|
86
|
+
|
|
87
|
+
### DNS
|
|
88
|
+
|
|
89
|
+
- `gcdns`: A convenience command group for all dns-related commands.
|
|
90
|
+
- `gcdnsz`: List managed DNS zones.
|
|
91
|
+
- `gcdnsc`: List or apply DNS record sets changes.
|
|
92
|
+
- `gcdnsd`: Delete a managed DNS zone.
|
|
93
|
+
- `gcdnsi`: Create a new managed DNS zone.
|
|
94
|
+
- `gcdnsk`: List and manage DNSSEC keys for a zone.
|
|
95
|
+
- `gcdnsl`: List record sets in a managed zone.
|
|
96
|
+
- `gcdnsr`: Start a transaction to add, update, or remove record sets.
|
|
97
|
+
- `gcdnss`: Execute a transaction to add, update, or remove record sets.
|
|
98
|
+
- `gcdnst`: Abort a transaction to add, update, or remove record sets.
|
|
99
|
+
|
|
100
|
+
### Functions
|
|
101
|
+
|
|
102
|
+
- `gcf`: A convenience command group for all functions-related commands.
|
|
103
|
+
|
|
104
|
+
### Cloud Build
|
|
105
|
+
|
|
106
|
+
- `gcb`: A convenience command group for all Cloud Build-related commands.
|
|
107
|
+
- `gcbh`: List all builds in a project.
|
|
108
|
+
- `gcbb`: Submit a build to Cloud Build.
|
|
109
|
+
|
|
110
|
+
### Cloud Run
|
|
111
|
+
|
|
112
|
+
- `gcr`: A convenience command group for all Cloud Run-related commands.
|
|
113
|
+
- `gcrd`: Deploy a container to Cloud Run.
|
|
114
|
+
- `gcrs`: List, describe, and manage services on Cloud Run.
|
|
115
|
+
- `gcru`: Update an existing Cloud Run service.
|
|
116
|
+
- `gcrf`: Display logs for a Cloud Run service.
|
|
117
|
+
|
|
118
|
+
### Cloud Storage
|
|
119
|
+
|
|
120
|
+
- `gcs`: A convenience command group for all Cloud Storage-related commands.
|
|
121
|
+
- `gcsc`: Copy files and objects to/from Cloud Storage.
|
|
122
|
+
- `gcscp`: Copy files and objects to/from Cloud Storage using parallel processing.
|
|
123
|
+
- `gcsd`: Display the total size of a bucket or object.
|
|
124
|
+
- `gcsl`:List contents of a bucket or folder.
|
|
125
|
+
- `gcspm`: Set metadata for objects in Cloud Storage.
|
|
126
|
+
|
|
127
|
+
### BigQuery
|
|
128
|
+
|
|
129
|
+
- `gcbq`: A convenience command group for all BigQuery-related commands.
|
|
130
|
+
- `gcbql`: List all datasets in a project.
|
|
131
|
+
- `gcbqs`: Show details about a specific dataset or table.
|
|
132
|
+
- `gcbqd`: Delete a dataset or table.
|
|
133
|
+
- `gcbqc`: Run a BigQuery SQL query.
|
|
134
|
+
|
|
135
|
+
### Cloud SQL
|
|
136
|
+
|
|
137
|
+
- `gcsql`: A convenience command group for all Cloud SQL-related commands.
|
|
138
|
+
- `gcsqlc`: Connect to a Cloud SQL instance.
|
|
139
|
+
- `gcsqlc`: Create a new Cloud SQL instance.
|
|
140
|
+
- `gcsqlr`: Describe a Cloud SQL instance.
|
|
141
|
+
- `gcsqlu`: Update the password for a Cloud SQL user.
|
|
142
|
+
|
|
143
|
+
### Pub/Sub
|
|
144
|
+
|
|
145
|
+
- `gcps`: A convenience command group for all Pub/Sub-related commands.
|
|
146
|
+
- `gcpsp`: List, create, and manage Pub/Sub topics.
|
|
147
|
+
- `gcpss`: List, create, and manage Pub/Sub subscriptions.
|
|
148
|
+
- `gcpsp`: Publish a message to a Pub/Sub topic.
|
|
@@ -1,122 +1,146 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets Google Cloud Aliases
|
|
5
5
|
# License: MIT
|
|
6
|
-
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
alias
|
|
35
|
-
alias
|
|
36
|
-
alias
|
|
37
|
-
alias
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
alias
|
|
48
|
-
alias
|
|
49
|
-
alias
|
|
50
|
-
alias
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
alias
|
|
57
|
-
alias
|
|
58
|
-
alias
|
|
59
|
-
alias
|
|
60
|
-
alias
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
alias
|
|
68
|
-
alias
|
|
69
|
-
alias
|
|
70
|
-
alias
|
|
71
|
-
alias
|
|
72
|
-
alias
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
alias
|
|
79
|
-
alias
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
alias
|
|
87
|
-
alias
|
|
88
|
-
alias
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
alias
|
|
95
|
-
alias
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
alias
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
alias
|
|
103
|
-
alias
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
alias
|
|
110
|
-
alias
|
|
111
|
-
alias
|
|
112
|
-
alias
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
alias
|
|
120
|
-
alias
|
|
121
|
-
alias
|
|
122
|
-
|
|
6
|
+
# Script: gcloud.aliases.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
9
|
+
|
|
10
|
+
if command -v 'gcloud' >/dev/null; then
|
|
11
|
+
|
|
12
|
+
# Authenticate and authorize
|
|
13
|
+
alias gcaasa='gcloud auth activate-service-account' # gcaasa: Like gcloud auth login but with service account credentials.
|
|
14
|
+
alias gcacd='gcloud auth configure-docker' # gcacd: Configure Docker to use gcloud as a credential helper.
|
|
15
|
+
alias gcal='gcloud auth list' # gcal: List the accounts you are logged in with.
|
|
16
|
+
alias gcapat='gcloud auth print-access-token' # gcapat: Print the access token for the current active account.
|
|
17
|
+
alias gcar='gcloud auth revoke' # gcar: Revoke credentials for the current active account.
|
|
18
|
+
|
|
19
|
+
# App Engine
|
|
20
|
+
alias gcapb='gcloud app browse' # gcapb: Open the App Engine app in your default browser.
|
|
21
|
+
alias gcapc='gcloud app create' # gcapc: Create a new App Engine app.
|
|
22
|
+
alias gcapd='gcloud app deploy' # gcapd: Deploy an App Engine app.
|
|
23
|
+
alias gcapl='gcloud app logs read' # gcapl: Read the logs for an App Engine app.
|
|
24
|
+
alias gcapv='gcloud app versions list' # gcapv: List the versions of an App Engine app.
|
|
25
|
+
|
|
26
|
+
# Cloud SDK configuration and management
|
|
27
|
+
alias gccca='gcloud config configurations activate' # gccca: Switch to an existing named configuration.
|
|
28
|
+
alias gcccc='gcloud config configurations create' # gcccc: Create a new named configuration.
|
|
29
|
+
alias gcccl='gcloud config configurations list' # gcccl: Display a list of all available configurations.
|
|
30
|
+
alias gccl='gcloud config list' # gccl:Display all the properties for the current configuration.
|
|
31
|
+
alias gccgv='gcloud config get-value' # gccgv: Fetch value of a Cloud SDK property.
|
|
32
|
+
alias gccs='gcloud config set' # gccs: Define a property (like compute/zone) for the current configuration.
|
|
33
|
+
alias gccsp='gcloud config set project' # gccsp: Set a default Google Cloud project to work on.
|
|
34
|
+
alias gccu='gcloud components update' # gccu: Update your Cloud SDK to the latest version.
|
|
35
|
+
alias gci='gcloud init' # gci: Initialize, authorize, and configure the gcloud tool.
|
|
36
|
+
alias gcinf='gcloud info' # gcinf: Display current gcloud tool environment details.
|
|
37
|
+
alias gciov='gcloud io verify-email' # gciov: Verify your email address for Google Cloud.
|
|
38
|
+
|
|
39
|
+
# Container
|
|
40
|
+
alias gcccc='gcloud container clusters create' # gcccc: Create a cluster to run GKE containers.
|
|
41
|
+
alias gcccg='gcloud container clusters get-credentials' # gcccg: Update kubeconfig to get kubectl to use a GKE cluster.
|
|
42
|
+
alias gcccl='gcloud container clusters list' # gcccl: List clusters for running GKE containers.
|
|
43
|
+
alias gccil='gcloud container images list-tags' # gccil: List tag and digest metadata for a container image.
|
|
44
|
+
alias gcd='gcloud container' # gcd: A convenience command group for all container-related commands.
|
|
45
|
+
|
|
46
|
+
# IAM
|
|
47
|
+
alias gciamk='gcloud iam service-accounts keys list' # gciamk: List a service account's keys.
|
|
48
|
+
alias gciaml='gcloud iam list-grantable-roles' # gciaml: List IAM grantable roles for a resource.
|
|
49
|
+
alias gciamp='gcloud iam service-accounts add-iam-policy-binding' # gciamp: Add an IAM policy binding to a service account.
|
|
50
|
+
alias gciamr='gcloud iam roles create' # gciamr: Create a custom role for a project or org
|
|
51
|
+
alias gciamd='gcloud iam roles delete' # gciamd: Delete a custom role for a project or org.
|
|
52
|
+
alias gciampd='gcloud iam service-accounts remove-iam-policy-binding' # gciampd: Remove an IAM policy binding from a service account.
|
|
53
|
+
alias gciamro='gcloud iam roles describe' # gciamro: Describe a custom role for a project or org.
|
|
54
|
+
alias gciamsp='gcloud iam service-accounts set-iam-policy' # gciamsp: Replace the IAM policy of a service account.
|
|
55
|
+
alias gciamu='gcloud iam roles undelete' # gciamu: Undelete a custom role for a project or org.
|
|
56
|
+
alias gciamup='gcloud iam service-accounts update' # gciamup: Update a service account.
|
|
57
|
+
alias gcimp='gcloud organizations list' # gcimp: List available Cloud Identity domains.
|
|
58
|
+
alias gcimpe='gcloud organizations add-iam-policy-binding' # gcimpe: Add an IAM policy binding to a Cloud Identity domain.
|
|
59
|
+
alias gcimpr='gcloud organizations remove-iam-policy-binding' # gcimpr: Remove an IAM policy binding from a Cloud Identity domain.
|
|
60
|
+
alias gcsac='gcloud auth application-default login' # gcsac: Obtain an access token for the Google Cloud APIs.
|
|
61
|
+
|
|
62
|
+
# Compute
|
|
63
|
+
alias gcc='gcloud compute' # gcc: A convenience command group for all compute-related commands.
|
|
64
|
+
alias gcpa='gcloud projects add-iam-policy-binding' # gcpa: Add an IAM policy binding to a specified project.
|
|
65
|
+
alias gcpc='gcloud compute copy-files' # gcpc: Copy files.
|
|
66
|
+
alias gcpd='gcloud projects describe' # gcpd: Display metadata for a project (including its ID).
|
|
67
|
+
alias gcpdown='gcloud compute instances stop' # gcpdown: Stop instance.
|
|
68
|
+
alias gcpds='gcloud compute disks snapshot' # gcpds: Create snapshot of persistent disks.
|
|
69
|
+
alias gcpid='gcloud compute instances describe' # gcpid: Display a VM instance's details.
|
|
70
|
+
alias gcpil='gcloud compute instances list' # gcpil: List all VM instances in a project.
|
|
71
|
+
alias gcprm='gcloud compute instances delete' # gcprm: Delete instance.
|
|
72
|
+
alias gcpsk='gcloud compute snapshots delete' # gcpsk: Delete a snapshot.
|
|
73
|
+
alias gcpssh='gcloud compute ssh' # gcpssh: Connect to a VM instance by using SSH.
|
|
74
|
+
alias gcpup='gcloud compute instances start' # gcpup: Start instance.
|
|
75
|
+
alias gcpzl='gcloud compute zones list' # gcpzl:List Compute Engine zones.
|
|
76
|
+
|
|
77
|
+
# Deployment Manager
|
|
78
|
+
alias gcdm='gcloud deployment-manager' # gcdm: A convenience command group for all deployment-manager-related commands.
|
|
79
|
+
alias gcdma='gcloud deployment-manager deployments create' # gcdma: Create a new deployment.
|
|
80
|
+
alias gcdmd='gcloud deployment-manager deployments delete' # gcdmd: Delete a deployment.
|
|
81
|
+
alias gcdmg='gcloud deployment-manager deployments describe' # gcdmg: Describe a deployment.
|
|
82
|
+
alias gcdml='gcloud deployment-manager deployments list' # gcdml: List all deployments.
|
|
83
|
+
alias gcdmu='gcloud deployment-manager deployments update' # gcdmu: Update a deployment.
|
|
84
|
+
|
|
85
|
+
# DNS
|
|
86
|
+
alias gcdns='gcloud dns' # gcdns: A convenience command group for all dns-related commands.
|
|
87
|
+
alias gcdnsz='gcloud dns managed-zones' # gcdnsz: List managed DNS zones.
|
|
88
|
+
alias gcdnsc='gcloud dns record-sets changes' # gcdnsc: List or apply DNS record sets changes.
|
|
89
|
+
alias gcdnsd='gcloud dns managed-zones delete' # gcdnsd: Delete a managed DNS zone.
|
|
90
|
+
alias gcdnsi='gcloud dns managed-zones create' # gcdnsi: Create a new managed DNS zone.
|
|
91
|
+
alias gcdnsk='gcloud dns dns-keys' # gcdnsk: List and manage DNSSEC keys for a zone.
|
|
92
|
+
alias gcdnsl='gcloud dns record-sets list' # gcdnsl: List record sets in a managed zone.
|
|
93
|
+
alias gcdnsr='gcloud dns record-sets transaction start' # gcdnsr: Start a transaction to add, update, or remove record sets.
|
|
94
|
+
alias gcdnss='gcloud dns record-sets transaction execute' # gcdnss: Execute a transaction to add, update, or remove record sets.
|
|
95
|
+
alias gcdnst='gcloud dns record-sets transaction abort' # gcdnst: Abort a transaction to add, update, or remove record sets.
|
|
96
|
+
|
|
97
|
+
# Functions
|
|
98
|
+
alias gcf='gcloud functions' # gcf: A convenience command group for all functions-related commands.
|
|
99
|
+
|
|
100
|
+
# Cloud Build
|
|
101
|
+
|
|
102
|
+
alias gcb='gcloud builds' # gcb: A convenience command group for all Cloud Build-related commands.
|
|
103
|
+
alias gcbh='gcloud builds list' # gcbh: List all builds in a project.
|
|
104
|
+
alias gcbb='gcloud builds submit' # gcbb: Submit a build to Cloud Build.
|
|
105
|
+
|
|
106
|
+
# Cloud Run
|
|
107
|
+
|
|
108
|
+
alias gcr='gcloud run' # gcr: A convenience command group for all Cloud Run-related commands.
|
|
109
|
+
alias gcrd='gcloud run deploy' # gcrd: Deploy a container to Cloud Run.
|
|
110
|
+
alias gcrs='gcloud run services' # gcrs: List, describe, and manage services on Cloud Run.
|
|
111
|
+
alias gcru='gcloud run update' # gcru: Update an existing Cloud Run service.
|
|
112
|
+
alias gcrf='gcloud run logs' # gcrf: Display logs for a Cloud Run service.
|
|
113
|
+
|
|
114
|
+
# Cloud Storage
|
|
115
|
+
|
|
116
|
+
alias gcs='gsutil' # gcs: A convenience command group for all Cloud Storage-related commands.
|
|
117
|
+
alias gcsc='gsutil cp' # gcsc: Copy files and objects to/from Cloud Storage.
|
|
118
|
+
alias gcscp='gsutil -m cp' # gcscp: Copy files and objects to/from Cloud Storage using parallel processing.
|
|
119
|
+
alias gcsd='gsutil du' # gcsd: Display the total size of a bucket or object.
|
|
120
|
+
alias gcsl='gsutil ls' # gcsl:List contents of a bucket or folder.
|
|
121
|
+
alias gcspm='gsutil setmeta' # gcspm: Set metadata for objects in Cloud Storage.
|
|
122
|
+
|
|
123
|
+
# BigQuery
|
|
124
|
+
|
|
125
|
+
alias gcbq='bq' # gcbq: A convenience command group for all BigQuery-related commands.
|
|
126
|
+
alias gcbql='bq ls' # gcbql: List all datasets in a project.
|
|
127
|
+
alias gcbqs='bq show' # gcbqs: Show details about a specific dataset or table.
|
|
128
|
+
alias gcbqd='bq rm' # gcbqd: Delete a dataset or table.
|
|
129
|
+
alias gcbqc='bq query' # gcbqc: Run a BigQuery SQL query.
|
|
130
|
+
|
|
131
|
+
# Cloud SQL
|
|
132
|
+
|
|
133
|
+
alias gcsql='gcloud sql' # gcsql: A convenience command group for all Cloud SQL-related commands.
|
|
134
|
+
alias gcsqlc='gcloud sql connect' # gcsqlc: Connect to a Cloud SQL instance.
|
|
135
|
+
alias gcsqlc='gcloud sql instances create' # gcsqlc: Create a new Cloud SQL instance.
|
|
136
|
+
alias gcsqlr='gcloud sql instances describe' # gcsqlr: Describe a Cloud SQL instance.
|
|
137
|
+
alias gcsqlu='gcloud sql users set-password' # gcsqlu: Update the password for a Cloud SQL user.
|
|
138
|
+
|
|
139
|
+
# Pub/Sub
|
|
140
|
+
|
|
141
|
+
alias gcps='gcloud pubsub' # gcps: A convenience command group for all Pub/Sub-related commands.
|
|
142
|
+
alias gcpsp='gcloud pubsub topics' # gcpsp: List, create, and manage Pub/Sub topics.
|
|
143
|
+
alias gcpss='gcloud pubsub subscriptions' # gcpss: List, create, and manage Pub/Sub subscriptions.
|
|
144
|
+
alias gcpsp='gcloud pubsub publish' # gcpsp: Publish a message to a Pub/Sub topic.
|
|
145
|
+
|
|
146
|
+
fi
|