Skip to content

Commit

Permalink
test added for renaming alias
Browse files Browse the repository at this point in the history
  • Loading branch information
SabbirIrfan committed Jun 14, 2024
1 parent 58b5e4c commit 957c6df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/demo/basic/rename-alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
# CREATE DATABASE AND KEYSTORE
kli init --name rename-test --base "${KERI_TEMP_DIR}" --nopasscode

echo ${KERI_DEMO_SCRIPT_DIR}
# Incept with the initial alias "sabbir"
kli incept --name rename-test --base "${KERI_TEMP_DIR}" --alias sabbir --file ${KERI_DEMO_SCRIPT_DIR}/data/transferable-sample.json

# Rename the alias from "sabbir" to "irfan"
kli rename --name rename-test --base "${KERI_TEMP_DIR}" --alias sabbir irfan

# Extract aliases from status
# Extract alias from status
irfan_alias=$(kli status --name rename-test --base "${KERI_TEMP_DIR}" --alias irfan | grep -Eo 'Alias:\s+(.+)' | awk '{print $2}')


Expand Down

0 comments on commit 957c6df

Please sign in to comment.