Skip to content

refactor!: remove deprecated --id CLI flag#449

Merged
wkentaro merged 1 commit into
mainfrom
remove/deprecated-id-flag
Apr 11, 2026
Merged

refactor!: remove deprecated --id CLI flag#449
wkentaro merged 1 commit into
mainfrom
remove/deprecated-id-flag

Conversation

@wkentaro
Copy link
Copy Markdown
Owner

Summary

  • Remove the --id CLI flag that was deprecated in version 4.3.1 with a warning saying "will be removed in 5.0"
  • The flag is long overdue for removal (now at 5.3.0)
  • The auto-detection logic (URL vs file ID) works without --id and has been the recommended path since 4.3.1

Changes

  • Removed --id argument definition from the argument parser
  • Removed the if args.id: branch and kept only the auto-detection logic (URL regex match)
  • Updated url_or_id help text to remove the (with --id) reference
  • Removed the now-unused import warnings

@wkentaro wkentaro force-pushed the remove/deprecated-id-flag branch from d679653 to a7dae9b Compare April 11, 2026 11:41
@wkentaro wkentaro changed the title fix: remove deprecated --id CLI flag refactor: remove deprecated --id CLI flag Apr 11, 2026
@wkentaro wkentaro self-assigned this Apr 11, 2026
@wkentaro wkentaro added the refactor Code restructuring label Apr 11, 2026
@wkentaro wkentaro merged commit 8bd5e8e into main Apr 11, 2026
4 checks passed
@wkentaro wkentaro deleted the remove/deprecated-id-flag branch April 11, 2026 11:49
@wkentaro wkentaro changed the title refactor: remove deprecated --id CLI flag refactor!: remove deprecated --id CLI flag Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code restructuring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant