How to use shop instance in CLI context?

How we can create shop context for a particular shop?