-
Notifications
You must be signed in to change notification settings - Fork 114
feat: Make standalone CLI #1496
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
Conversation
4ecda42
to
a1e1f71
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1496 +/- ##
=======================================
Coverage 16.75% 16.75%
=======================================
Files 213 213
Lines 20704 20704
Branches 871 871
=======================================
Hits 3468 3468
Misses 17236 17236 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
let md = ent.metadata().await?; | ||
|
||
let modified_timestamp = md.modified()?.duration_since(std::time::UNIX_EPOCH)?.as_secs(); | ||
let datetime = time::OffsetDateTime::from_unix_timestamp(modified_timestamp as i64).unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably a super unlikely scenario but if modified_timestamp
is nil with the unwrap
, wouldn't this panic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out, there shouldn't be unwraps like this in production code. Only ported whats on main 🤦
remove chat from q_cli give temporary name rename chat-cli crate checkpoint finish fixing lints support windows fix more osx lints fix: compile q and qchat on Linux bundle qchat with the desktop app fix: more broken lints on linux, remove unused code add q issue add chat execute add copying chat binary in appimage install port thinking tool port execute_bash summary from main fix build partial #1403 sdjifodjio run fmt
4f25dd0
to
df3940e
Compare
TODO