-
Notifications
You must be signed in to change notification settings - Fork 1
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
upgrade clap #244
upgrade clap #244
Conversation
WalkthroughThe recent updates primarily focus on version increments for the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
Cargo.lock
is excluded by!**/*.lock
Files selected for processing (6)
- Cargo.toml (2 hunks)
- package.json (1 hunks)
- src/bin/bundle_calcit.rs (3 hunks)
- src/bin/calcit_deps.rs (2 hunks)
- src/bin/cr.rs (4 hunks)
- src/cli_args.rs (2 hunks)
Files skipped from review due to trivial changes (4)
- Cargo.toml
- package.json
- src/bin/calcit_deps.rs
- src/cli_args.rs
Additional comments not posted (13)
src/bin/bundle_calcit.rs (6)
26-26
: Refactor to useget_flag
for boolean flags enhances clarity.
27-27
: Ensure thatget_one
is used correctly for mandatory string arguments.
28-28
: Correct usage ofget_one
for mandatory string arguments.
41-41
: Refactor to useget_flag
for boolean flags is consistent with other changes.
43-43
: Ensure thatget_one
is used correctly for mandatory string arguments.
286-286
: Updated CLI argument definitions to use.num_args(0)
or.num_args(1)
as appropriate.Also applies to: 294-294, 301-301, 308-308
src/bin/cr.rs (7)
46-56
: Refactor to useget_one
andget_flag
for argument parsing improves type safety and clarity.
58-58
: Correct use ofget_flag
for boolean flags.
59-59
: Ensure thatget_one
is used correctly for optional string arguments.
79-79
: Correct use ofget_one
for mandatory string arguments.
87-87
: Correct use ofget_many
for handling multiple values.
108-111
: Correct use ofget_one
for mandatory string arguments and proper error handling.
129-135
: Refactor to useget_one
for optional string arguments and ensure proper ownership handling with.to_owned()
.
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.
Actionable comments posted: 1
Outside diff range and nitpick comments (3)
README.md (3)
Line range hint
3-3
: Consider adding a comma after "ClojureScript" for better readability.- Semantically a dialect of ClojureScript. Built with Rust. + Semantically a dialect of ClojureScript, built with Rust.
Line range hint
70-70
: Add a comma after "By default" for grammatical correctness.- By default Calcit reads `:init-fn` and `:reload-fn` inside `compact.cirru` configs. + By default, Calcit reads `:init-fn` and `:reload-fn` inside `compact.cirru` configs.
Line range hint
85-85
: Consider adding a comma after "However" for grammatical correctness.- However it might require a lot of JavaScript interop. + However, it might require a lot of JavaScript interop.
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
Cargo.lock
is excluded by!**/*.lock
Files selected for processing (4)
- Cargo.toml (2 hunks)
- README.md (2 hunks)
- package.json (1 hunks)
- src/bin/calcit_deps.rs (4 hunks)
Files skipped from review as they are similar to previous changes (3)
- Cargo.toml
- package.json
- src/bin/calcit_deps.rs
Additional Context Used
LanguageTool (4)
README.md (4)
Near line 3: Possible missing comma found.
Context: ### Calcit Scripting Language > Semantically a dialect of ClojureScript. Built with ...
Near line 34: Loose punctuation mark.
Context: ...3 binaries are installed: -
calcit, the runtime and js compiler -
caps`, f...
Near line 70: Did you mean: “By default,”?
Context: ...ru # watch mode enabled by default ``` By default Calcit reads:init-fn
and `:reload-fn...
Near line 85: A comma may be missing after the conjunctive/linking adverb ‘However’.
Context: ...Script and runs in consistet semantics. However it might require a lot of JavaScript in...
Markdownlint (5)
README.md (5)
5: null
Bare URL used
6: null
Bare URL used
7: null
Bare URL used
161: null
Bare URL used
162: null
Bare URL used
Additional comments not posted (1)
README.md (1)
110-110
: This section on modules is clear and informative.
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- src/bin/calcit_deps.rs (6 hunks)
- src/bin/git/mod.rs (7 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/bin/calcit_deps.rs
Additional comments not posted (6)
src/bin/git/mod.rs (6)
41-42
: Handle potential UTF-8 conversion errors gracefully.
71-72
: Handle potential UTF-8 conversion errors gracefully.
103-104
: Handle potential UTF-8 conversion errors gracefully.
122-123
: Handle potential UTF-8 conversion errors gracefully.
137-138
: Handle potential UTF-8 conversion errors gracefully.
155-156
: Handle potential UTF-8 conversion errors gracefully.
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- src/bin/calcit_deps.rs (7 hunks)
- src/bin/git/mod.rs (7 hunks)
Files skipped from review as they are similar to previous changes (2)
- src/bin/calcit_deps.rs
- src/bin/git/mod.rs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
Cargo.lock
is excluded by!**/*.lock
Files selected for processing (4)
- Cargo.toml (2 hunks)
- package.json (1 hunks)
- src/bin/cr.rs (4 hunks)
- src/bin/git/mod.rs (7 hunks)
Files skipped from review as they are similar to previous changes (4)
- Cargo.toml
- package.json
- src/bin/cr.rs
- src/bin/git/mod.rs
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
Cargo.lock
is excluded by!**/*.lock
Files selected for processing (3)
- Cargo.toml (3 hunks)
- package.json (1 hunks)
- src/calcit.rs (1 hunks)
Additional context used
Biome
Additional comments not posted (3)
package.json (1)
3-3
: Version update from0.8.52
to0.8.56
looks good.Cargo.toml (2)
3-3
: Version update from0.8.52
to0.8.56
looks good.
23-23
: Dependency updates forcirru_edn
,cirru_parser
,clap
,strum
, andstrum_macros
are correctly updated as per the PR objectives.Also applies to: 25-25, 27-27, 38-39
No description provided.