permitio / permit-cli

A command line utility from Permit.io to work with everything IAM and Authorization. A one-stop-shop to manage all your Authorization tools (OPA, OpenFGA, Cedar, OPAL, AVP...) as well as the Permit Service.
20 stars 27 forks source link

🌟 Community Feature Challenge: Development Experience 🌟 #5

Open gemanor opened 3 weeks ago

gemanor commented 3 weeks ago

This is one of our 10 community feature challenges, and we want your input on how we can enhance the Permit CLI in the area of Permit.io Cloud Developer Experience. This is a space for you to share your ideas on what would make this part of the CLI even better!

How to Participate

Why Join In?

What’s Next?

We’ll keep this challenge open for proposals and upvotes until November 10th, 2024. Once the top idea is chosen, we’ll update this issue with details on the bounty and the next steps for development.

Thank you for helping us make the Permit CLI even better. We can’t wait to see what you come up with! 🌟

quest-bot[bot] commented 3 weeks ago

New Quest! image New Quest!

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


Loot of 250 USD 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 #5 to link your PR to this Quest.

Questions? Check out the docs.

Mohiit70 commented 3 weeks ago

@quest-bot embark

quest-bot[bot] commented 3 weeks ago

@Mohiit70 has embarked on their Quest. đź—ˇ

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

Yordaniss commented 1 week ago

@quest-bot embark

Hey @gemanor

When I use a CLI in any application, I value three key aspects:

With these in mind, I would suggest the following improvements:

1. Command Auto-Completion & Suggestions

How It Works:

Adds support for auto-completion, allowing the CLI to complete commands and options as users type. For instance, typing permit r could auto-expand to permit roles list, while incomplete commands like permit role suggest subcommands.

Value for Users:

2. Local Debugging with Verbose Logging

How It Works:

Adding a --verbose flag to each CLI command provides detailed logs for operations, including request details, response codes, error messages, execution times, and processing information. Running permit roles list --verbose could, for example, display API call details and parsing steps.

Value for Users:

3. Init Configuration

How It Works:

Configuration Setup: permit init prompts users for essential info (e.g., API keys, environment selection) and automatically creates or updates a configfile. For Windows, it could also add Permit CLI to the PATH, enabling global command usage. For other OSes, it could generate tailored instructions or scripts.

Value for Users:

I hope you find my ideas well

quest-bot[bot] commented 1 week ago

@Yordaniss has embarked on their Quest. đź—ˇ

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.