_mssh: Add a license header

This commit is contained in:
Hyeon Kim 2020-12-30 20:03:56 +09:00
parent 43a6b81308
commit 7a4574cd45
No known key found for this signature in database
GPG Key ID: 0F85F46EE242057F
1 changed files with 32 additions and 1 deletions

View File

@ -1,5 +1,28 @@
#compdef mssh
# ------------------------------------------------------------------------------
# Copyright (c) 2020 Hyeon Kim
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
# ------------------------------------------------------------------------------
# Description
# -----------
# mssh is a Python client for accessing EC2 instances via AWS EC2 Instance
# Connect.
#
@ -7,6 +30,14 @@
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html#ec2-instance-connect-connecting-ec2-cli
# https://github.com/aws/aws-ec2-instance-connect-cli
# https://pypi.org/project/ec2instanceconnectcli/
#
# ------------------------------------------------------------------------------
# Authors
# -------
#
# * Hyeon Kim (https://hyeon.me/)
#
# ------------------------------------------------------------------------------
# Define function only when it doesn't exist
(( $+functions[_mssh_cache_policy] )) || _mssh_cache_policy() {