nginxinc/nginx-for-azure-deploy-action

Improve the deployment shell script to use named parameters

bangbingsyb opened this issue · 1 comments

Currently the deployment script uses 6 positional arguments. The script is getting harder to use outside the context of a Github action.

As a best practice, we may want to consider usegetopts or another mechanism to make the parameters named. This would also make it easier to add additional input while keeping some optional.

Named parameters were added