Get_object for a key (input) vs next key in the same cli

My cli is like

show network [xxxx] status ---- list the n/w status of xxxxx.

or

show network status ---- list the n/w status of all network configured in system

The 2nd cli is taking xxxx=status.

How do i handle this case – getting o/p of all (wild card)