Skip to content

Commit d638b51

Browse files
committed
Complete clippy and formatting fixes for CLI crate
1 parent d0e812b commit d638b51

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.opencode/command/issue-manage.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
---
2+
description: This command file provides standardized instructions for managing GitHub issues and discussions within the OpenCode ecosystem. It covers commenting on issues, closing issues, and adding comments to discussions using the GitHub CLI (`gh`). This ensures consistent and efficient handling of repository interactions.
3+
agent: github
4+
---
15
# Issue Management Command
26

3-
## Description
4-
This command file provides standardized instructions for managing GitHub issues and discussions within the OpenCode ecosystem. It covers commenting on issues, closing issues, and adding comments to discussions using the GitHub CLI (`gh`). This ensures consistent and efficient handling of repository interactions.
5-
6-
## Agent Assignment
7-
GitHub
8-
97
## Steps
108

119
### Commenting on an Issue

crates/cli/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ pub mod production_handlers;
88
pub mod report_handlers;
99
pub mod scan_handlers;
1010
pub mod stack_presets;
11+
#[cfg(test)]
1112
pub mod tests;
1213
pub mod utils;

crates/cli/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mod production_handlers;
1212
mod report_handlers;
1313
mod scan_handlers;
1414
mod stack_presets;
15+
#[cfg(test)]
1516
mod tests;
1617
mod utils;
1718

crates/cli/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ fn test_handle_benchmark_invalid_path() {
120120
let invalid_path = PathBuf::from("/invalid/path");
121121
let result = handle_benchmark(Some(invalid_path), false);
122122
assert!(result.is_err());
123-
}
123+
}

0 commit comments

Comments
 (0)