Skip to content

Commit ed9be01

Browse files
committed
fix: clippy
1 parent a08bd80 commit ed9be01

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/commands/browser/action.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ pub struct WaitArgs {
486486
#[arg(short = 'f', long, alias = "fn")]
487487
pub function: Option<String>,
488488
/// Wait for load state: load, domcontentloaded, networkidle
489-
#[arg(long, alias = "load")]
489+
#[arg(short = 'l', long, alias = "load")]
490490
pub load_state: Option<String>,
491491
}
492492

src/commands/init/agents.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
//! - Cursor (`~/.cursor/rules/<name>.mdc`)
66
//! - OpenCode (`~/.config/opencode/agents/<name>.md`, subagent format)
77
//! - Codex (detected via `~/.codex/`, installed to the shared
8-
//! `~/.agents/skills/<name>/SKILL.md` location Codex scans)
8+
//! `~/.agents/skills/<name>/SKILL.md` location Codex scans)
99
//! - Pi (detected via `~/.pi/`, installed to the same shared
10-
//! `~/.agents/skills/<name>/SKILL.md` location Pi scans as a
11-
//! fallback — see https://github.com/badlogic/pi-mono)
10+
//! `~/.agents/skills/<name>/SKILL.md` location Pi scans as a
11+
//! fallback — see https://github.com/badlogic/pi-mono)
1212
//!
1313
//! The Steel skill content is embedded from `skills/steel-browser/SKILL.md`
1414
//! so a single source of truth ships with the CLI binary.

src/commands/init/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ pub struct Args {
1515

1616
pub async fn run(args: Args) -> anyhow::Result<()> {
1717
status!("Steel CLI setup");
18-
if let Ok(from) = std::env::var("STEEL_ONBOARDING_FROM") {
19-
if !from.is_empty() {
20-
status!("Onboarding source: {from}");
21-
}
18+
if let Ok(from) = std::env::var("STEEL_ONBOARDING_FROM")
19+
&& !from.is_empty()
20+
{
21+
status!("Onboarding source: {from}");
2222
}
2323
status!("");
2424

src/commands/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Wait:
124124
--state <state> visible, hidden, attached, detached
125125
-u, --url <substring> Wait for URL to contain string
126126
-f, --function <js> Wait for JS function to return truthy
127-
--load-state <state> load, domcontentloaded, networkidle (alias: --load)
127+
-l, --load-state <state> load, domcontentloaded, networkidle (alias: --load)
128128
129129
Tabs:
130130
steel browser tab list List open tabs
@@ -233,7 +233,7 @@ pub struct Cli {
233233
pub no_update_check: bool,
234234

235235
/// Use local Steel runtime instead of cloud
236-
#[arg(short, long, global = true)]
236+
#[arg(long, global = true)]
237237
pub local: bool,
238238

239239
/// Explicit self-hosted API endpoint URL

0 commit comments

Comments
 (0)