cli: rename LIGATE_LGT_TOKEN_ID env var to LIGATE_AVOW_TOKEN_ID (post-#42 follow-up)#47
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#42 renamed every
LGT-prefixed identifier in this repo toAVOW(prose, base units, internal Rust idents, wire-deserialize fields) but missed the clapenv =attribute on--token-id. This PR closes that gap.Concrete: in
src/transfer.rsandsrc/balance.rs,#[arg(long, env = "LIGATE_LGT_TOKEN_ID")]→env = "LIGATE_AVOW_TOKEN_ID". README updated to match.Breaking surface
Breaking on env-var name only. Operators who set
export LIGATE_LGT_TOKEN_ID=token_1...in their shell rc need to rename the variable. No flag-name change, no wire-format change. The CLI's--token-idflag is unaffected.CHANGELOG.mdhistorical [0.2.2] section is intentionally NOT rewritten,LIGATE_LGT_TOKEN_IDwas what shipped with v0.2.2; history stays accurate. New[Unreleased]entry documents the rename.Test plan
cargo check+cargo fmt --checkpass (pre-commit hook ran).[Unreleased]entry folds into the new version section.