Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Summary

Makes profile configuration more discoverable by showing users where their config files are stored.

Addresses #251

Changes

  • ✨ Added profile path command to show config file location
  • 📍 profile list now shows config file path at the top
  • 💾 profile set shows where the config was saved

Examples

New profile path command

$ redisctl profile path
/Users/username/.config/redisctl/config.toml

Enhanced profile list output

$ redisctl profile list
Configuration file: /Users/username/.config/redisctl/config.toml

NAME            TYPE         DETAILS
--------------- ------------ ------------------------------
cloud-prod*     cloud        URL: https://api.redislabs.com/v1
enterprise-dev  enterprise   URL: https://localhost:9443, User: admin@cluster.local (insecure)

Improved profile set feedback

$ redisctl profile set test-profile --deployment cloud --api-key xxx --api-secret yyy
Profile 'test-profile' saved successfully to:
  /Users/username/.config/redisctl/config.toml
Set 'test-profile' as the default profile? (Y/n):

Impact

  • Users can easily find their config file for manual editing or backup
  • Reduces confusion about where profiles are stored
  • Makes troubleshooting easier

Testing

  • profile path command works
  • profile list shows config path
  • profile set shows save location
  • All tests pass

- Added 'profile path' command to show config file location
- Profile list now shows config file path at the top
- Profile set shows where the config was saved
- Makes configuration more discoverable for users

Addresses #251
@joshrotenberg joshrotenberg added the enhancement New feature or request label Sep 10, 2025
@joshrotenberg joshrotenberg merged commit f3b25c2 into main Sep 10, 2025
9 checks passed
@joshrotenberg joshrotenberg deleted the feat/profile-path-command branch September 10, 2025 20:04
This was referenced Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants