code: def _validate_positional_arguments(args):
      
      nouns = []
      for arg in args:
          if not arg.startswith('-') or not arg.startswith('{{'):
              nouns.append(arg)
          else:
              break
  
      while nouns:
          search = ' '.join(nouns)
          # Since the command name may be immediately followed by a positional arg, strip those off
          if not next((x for x in azext_alias.cached_reserved_commands if x.endswith(search)), False):
              del nouns[-1]
          else:
              return
  
      raise CLIError(INVALID_ALIAS_COMMAND_ERROR.format(' '.join(args)))
docs: To validate the positional argument feature - https://github.com/Azure/azure-cli/pull/6055.
      Assuming that unknown commands are positional arguments immediately
      led by words that only appear at the end of the commands
  
      Slight modification of
      https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/commands/__init__.py#L356-L373
  
      Args:
          args: The arguments that the user inputs in the terminal.
  
      Returns:
          Rudimentary parsed arguments.