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

Random password generator #384

Closed
wants to merge 2 commits into from
Closed

Random password generator #384

wants to merge 2 commits into from

Conversation

alirafatartist
Copy link

Closes: #XXX

Be noted that XXX is the issue ID

What is the purpose of the change

Add code file
Add readme file to read notes and know how it works

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for your contribution!🎉 Great first PR!

@alirafatartist
Copy link
Author

don't forget to merge it i want get my first pull shark achievement 😁

#!/bin/bash

generate_password() {
local length=$1
Copy link
Owner

@tungbq tungbq Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alirafatartist, The CI job is failing:
image

Can we make the default value of length to be 8 if there is no input so it can be run on the CI job as well?

Something like: local length=${1:-8}

@alirafatartist alirafatartist closed this by deleting the head repository Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants