soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

Add `stellar contract alias` subcommand

Open janewang opened this issue 1 year ago • 5 comments

  • [ ] stellar contract alias rm [ALIAS] --network NETWORK
  • [ ] stellar contract alias add [ALIAS] --network NETWORK
  • [ ] stellar contract alias ls --network NETWORK
  • [ ] stellar contract alias show [ALIAS] --network NETWORK

Maybe add --all to list all networks.

janewang avatar Jun 28 '24 17:06 janewang

Suggestion: stellar contract alias list|rm|add, because we may want to introduce other scoped aliasing (e.g. assets)

fnando avatar Jun 28 '24 17:06 fnando

Could add add while you're at it.

willemneal avatar Jun 28 '24 18:06 willemneal

Added show !

willemneal avatar Jul 11 '24 16:07 willemneal

Why does the alias command require the network? I thought there was only a single alias.

leighmcculloch avatar Jul 12 '24 01:07 leighmcculloch

Why does the alias command require the network? I thought there was only a single alias.

It's scoped by network. I personally would just recycle commands on the terminal and change just the network.

fnando avatar Jul 12 '24 02:07 fnando

Did this issue get closed because we resolved to no longer do it? As far as I can tell this has not been done yet.

leighmcculloch avatar Aug 26 '24 10:08 leighmcculloch

Closing alias issue

janewang avatar Sep 12 '24 13:09 janewang