src-cli
src-cli copied to clipboard
Small UX improvements to some `src extensions` commands
- Can we get the
src extensions copycommand to print"Extension copied!", instead of"Extension published"? (call to print inextensions_copy.go) - Can we get
src extensions deleteto detect if the-idflag is not being passed? (extensions_delete.go)Today,src extensions delete <valid graphql id>will report:
GraphQL errors: 1 error occurred:
* {
"message": "invalid graphql.ID",
"path": [
"extensionRegistry",
"deleteExtension"
]
}
i.e. it's explicitly expecting the -id flag, I'm pretty sure.
- Can we get some sort of
src <where am i>, to get feedback of whichSRC_ENDPOINTwe're connected to? I couldn't find an obvious method/currently existing command that does this. Maybe like...src whereor something?src info? Would be a nice to have for me personally since support team sometimes has to connect to different instances to test things out.