Best practice question for variable return from orb

Have a pretty simple question. If I were wanting output back of the container sha from the command here: https://github.com/CircleCI-Public/aws-ecr-orb/blob/master/src/commands/push-image.yml#L26-L28 would best practice be to fork the orb and then make a “sha” parameter that I end up using as an export from the command?

The goal is for someone to pass in sha: MAINCONTAINER and then later use $MAINCONTAINER in down the pipe.

Hello @DevopsDood
Absolutely! Orbs are open source so we highly encourage forking of the orb projects. Please feel free to push up a PR to the original repository if you believe this is something other users could benefit from. We may want to hear more about the use case before it were to be merged into the official orb but in either case we still encourage and support forking an orb for your own personal use.

You can publish the modified orb under your own personal namespace: https://circleci.com/docs/2.0/creating-orbs/#using-the-cli-to-publish-orbs