nikivdev/code · error
Missing changes subcommand. Use: f changes current-diff | f
Error message
Missing changes subcommand. Use: f changes current-diff | f changes accept <diff>
What it means
Error "Missing changes subcommand. Use: f changes current-diff | f changes accept <diff>" thrown in nikivdev/code.
Source
Thrown at src/changes.rs:41
)
}
fn trace(msg: &str) {
if trace_enabled() {
eprintln!("[diff] {}", msg);
}
}
pub fn run(cmd: ChangesCommand) -> Result<()> {
match cmd.action {
Some(ChangesAction::CurrentDiff) => {
print_current_diff()?;
}
Some(ChangesAction::Accept { diff, file }) => {
apply_diff(diff, file)?;
}
None => {
bail!(
"Missing changes subcommand. Use: f changes current-diff | f changes accept <diff>"
);
}
}
Ok(())
}
pub fn run_diff(cmd: DiffCommand) -> Result<()> {
match cmd.hash {
Some(hash) => {
if !cmd.env.is_empty() {
bail!("Env keys are only supported when creating a bundle.");
}
trace(&format!("unroll bundle: {}", hash));
unroll_bundle(&hash)
}
None => {
let env_keys = normalize_env_keys(&cmd.env)?;View on GitHub (pinned to a747e741ae)
When it happens
Trigger: Thrown at src/changes.rs:41 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01).
Data as JSON: /api/errors/aa862ed20ad84399.
Report an issue: GitHub.