Skip to content

Conversation

@kyle-rader
Copy link
Owner

@kyle-rader kyle-rader commented Nov 21, 2025

Add a --prefix CLI option to lk new to set the branch name prefix, leveraging Clap's env feature for LOKI_NEW_PREFIX.


Open in Cursor Open in Web


Note

Adds an optional --prefix flag (and LOKI_NEW_PREFIX via Clap env) to lk new, updates help/docs, and bumps version to 0.9.3.

  • CLI:
    • new subcommand: add optional --prefix (also reads LOKI_NEW_PREFIX via Clap env) and pass it into new_branch.
    • Update new_branch signature to accept prefix: Option<&str> and adjust prefix handling/logging.
  • Docs:
    • Refresh README.md and help text to document --prefix and LOKI_NEW_PREFIX usage.
  • Build/Config:
    • Enable Clap env feature in Cargo.toml.
    • Bump crate version from 0.9.2 to 0.9.3.

Written by Cursor Bugbot for commit ad42145. This will update automatically on new commits. Configure here.

Co-authored-by: kylewrader <kylewrader@gmail.com>
@cursor
Copy link

cursor bot commented Nov 21, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: kylewrader <kylewrader@gmail.com>
Copy link
Owner Author

@kyle-rader kyle-rader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kyle-rader kyle-rader marked this pull request as ready for review November 21, 2025 19:46
@kyle-rader kyle-rader merged commit 8af58ab into main Nov 21, 2025
4 checks passed
@kyle-rader kyle-rader deleted the cursor/update-branch-prefix-to-use-claps-env-feature-9df3 branch November 21, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants