yoda/subcommand/show.py
def parse(self):
        """Parse show subcommand."""
        parser = self.subparser.add_parser(
            "show",
            help="Show workspace details",
            description="Show workspace details.")

        group = parser.add_mutually_exclusive_group(required=True)
        group.add_argument('--all', action='store_true', help="All workspaces")
        group.add_argument('name', type=str, help="Workspace name", nargs='?')
def parse(self):
        parser = self.subparser.add_parser(
            "show",
            help="Show workspace details",
            description="Show workspace details.")

        group = parser.add_mutually_exclusive_group(required=True)
        group.add_argument('--all', action='store_true', help="All workspaces")
        group.add_argument('name', type=str, help="Workspace name", nargs='?')
def parse ( self ) : parser = self . subparser . add_parser ( "show" , help = "Show workspace details" , description = "Show workspace details." ) group = parser . add_mutually_exclusive_group ( required = True ) group . add_argument ( '--all' , action = 'store_true' , help = "All workspaces" ) group . add_argument ( 'name' , type = str , help = "Workspace name" , nargs = '?' )
Parse show subcommand.
Parse show subcommand .