Skip to content

feat: Packages and Profiles subcommand#31

Merged
uroybd merged 7 commits intomainfrom
packages-subcommand
Nov 26, 2025
Merged

feat: Packages and Profiles subcommand#31
uroybd merged 7 commits intomainfrom
packages-subcommand

Conversation

@uroybd
Copy link
Owner

@uroybd uroybd commented Nov 26, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 26, 2025 15:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new packages and profiles subcommands to the CLI, providing functionality to list and manage packages and profiles. The changes enable users to view package information with varying levels of detail, add new profiles, and interact with the configuration through dedicated subcommands.

Key Changes:

  • Added packages subcommand with list, import, deploy, update, and diff operations
  • Added profiles subcommand with list and add operations
  • Implemented helper methods in Config for listing packages/profiles and adding profiles

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
tests/subcommand_tests.rs Comprehensive test suite for new packages and profiles subcommands
src/context/mod.rs Added save_to_uservariables method to persist profile settings
src/config/mod.rs Implemented list_packages, list_profiles, and add_profile methods
src/cli/mod.rs Added CLI argument structures and command handling for packages and profiles

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

📊 Coverage Report

Overall Coverage: 94.96%

Full coverage report available in Codecov

Coverage Details

The coverage report has been generated and uploaded to Codecov.

  • Target: 70%
  • Patch Target: 80%

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

❌ Patch coverage is 84.21053% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.58%. Comparing base (dbd26fd) to head (5bf7069).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/cli/mod.rs 59.25% 11 Missing ⚠️
src/config/mod.rs 97.56% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   96.50%   95.58%   -0.93%     
==========================================
  Files           6        6              
  Lines         830      906      +76     
==========================================
+ Hits          801      866      +65     
- Misses         29       40      +11     
Files with missing lines Coverage Δ
src/context/mod.rs 98.01% <100.00%> (+0.11%) ⬆️
src/config/mod.rs 97.10% <97.56%> (+0.59%) ⬆️
src/cli/mod.rs 83.33% <59.25%> (-16.67%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbd26fd...5bf7069. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

uroybd and others added 5 commits November 26, 2025 21:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@uroybd uroybd merged commit 9ed5b01 into main Nov 26, 2025
4 checks passed
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