The extension, called 'env-to-repo', allows you to upload an .env file from your local directory to the repository secrets on GitHub. The extension checks the existence of the .env file in the current directory and whether the user has permission to access the repository.
# Use inside a folder with a .env file
gh env-to-repo <owner> <repo>
gh extension install endersonmenezes/gh-env-to-repo
# Upgrade All with Dry Run
gh extension upgrade --all --dry-run
# Upgrade Specific with Dry Run
gh extension upgrade endersonmenezes/gh-env-to-repo --dry-run
# Upgrade All
gh extension upgrade --all
# Upgrade Specific
gh extension upgrade endersonmenezes/gh-env-to-repo