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

cyctl interactive template auth rule creation #604

Closed
petar-cvit opened this issue Oct 4, 2024 · 4 comments · Fixed by #613
Closed

cyctl interactive template auth rule creation #604

petar-cvit opened this issue Oct 4, 2024 · 4 comments · Fixed by #613
Assignees
Labels
cyctl Issues related to the CLI go Pull requests that update Go code good first issue Good for newcomers hacktoberfest ⚔️ Quest Tracks quest-bot quests

Comments

@petar-cvit
Copy link
Collaborator

The scope of the issue is to add the interactive mode when creating template auth rules.

If none of the flags repo, username, or password are provided, a template can be created through the interactive mode. The user will be prompted to provide details about their template auth rule one by one.

You can look into integrating promptui or some other alternative for interactive CLI mode.

@petar-cvit petar-cvit added good first issue Good for newcomers go Pull requests that update Go code cyctl Issues related to the CLI hacktoberfest labels Oct 4, 2024
@quest-bot quest-bot bot added the ⚔️ Quest Tracks quest-bot quests label Oct 4, 2024
Copy link

quest-bot bot commented Oct 4, 2024

New Quest! image New Quest!

A new Quest has been launched in @cyclops-ui’s repo.
Merge a PR that solves this issue to loot the Quest and earn your reward.


Some loot has been stashed in this issue to reward the solver!

🗡 Comment @quest-bot embark to check-in for this Quest and start solving the issue. Other solvers will be notified!

⚔️ When you submit a PR, comment @quest-bot loot #604 to link your PR to this Quest.

Questions? Check out the docs.

@Abiji-2020
Copy link
Contributor

@petar-cvit I would like to work on this issue and I have a doubt here, currently we are getting the username and password as values and directly validating it so I need to check beforehand that they are empty and use the values from the interactive else we need to go with the existing implications?

@quest-bot embark

Copy link

quest-bot bot commented Oct 5, 2024

@Abiji-2020 has embarked on their Quest. 🗡

  • @Abiji-2020 has been on GitHub since 2023.
  • They have merged 173 public PRs in that time.
  • Their swords are blessed with TypeScript and JavaScript magic ✨
  • They have contributed to this repo before.

Questions? Check out the docs.

Copy link

quest-bot bot commented Oct 6, 2024

🧚 @Abiji-2020 has submitted PR #613 and is claiming the loot.

Keep up the pace, or you'll be left in the shadows.

Questions? Check out the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cyctl Issues related to the CLI go Pull requests that update Go code good first issue Good for newcomers hacktoberfest ⚔️ Quest Tracks quest-bot quests
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants