Skip to content

Conversation

@K-dash
Copy link
Owner

@K-dash K-dash commented Nov 19, 2025

Summary

  • feat: Add nblm.login() Python function and drive_access option to CLI and Python authentication.

Testing

  • Pre-commit hooks passed (automatically checked on commit)

Additional Context

…roduce new monitoring and testing scripts.
… CLI and Python authentication, along with new test and monitoring scripts.
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

❌ Patch coverage is 48.52941% with 70 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/nblm-cli/src/ops/auth.rs 31.70% 56 Missing ⚠️
crates/nblm-cli/src/args.rs 79.59% 10 Missing ⚠️
crates/nblm-cli/src/main.rs 25.00% 3 Missing ⚠️
crates/nblm-cli/src/app.rs 0.00% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
- Coverage   88.30%   87.33%   -0.98%     
==========================================
  Files          40       41       +1     
  Lines        5149     5281     +132     
==========================================
+ Hits         4547     4612      +65     
- Misses        602      669      +67     
Flag Coverage Δ
rust 87.33% <48.52%> (-0.98%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crates/nblm-cli/src/app.rs 95.59% <0.00%> (-0.61%) ⬇️
crates/nblm-cli/src/main.rs 80.00% <25.00%> (ø)
crates/nblm-cli/src/args.rs 71.87% <79.59%> (+25.20%) ⬆️
crates/nblm-cli/src/ops/auth.rs 31.70% <31.70%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Added `SpecialCommand` enum to handle specific commands bypassing the main CLI initialization.
- Introduced `parse_pre_command` function to parse command-line arguments for 'doctor' and 'auth' commands.
- Refactored the main function to utilize the new command parsing logic, improving command handling.
- Added unit tests for `parse_pre_command` to ensure correct behavior for different command scenarios.
- Created a `build_login_command` function in the auth module to streamline command construction for authentication.\
@K-dash K-dash merged commit 60f3daf into main Nov 19, 2025
16 of 17 checks passed
@K-dash K-dash deleted the feat/add-auth-command branch November 19, 2025 17:11
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