def METHOD_NAME(command: Command) -> None:
    """
    `!link [-c | -g] [-f] key [value [value ...]]` - Set and retrieve information in a key value
    store. Links can be set to be channel specific or global. Links are set as global by default,
    and channel specific links are retrieved by default unless overridden with the respective flag.
    """
    parser = ArgumentParser("!link", add_help=False)
    parser.add_argument("key", type=str, help="Lookup key")
    parser.add_argument("value", type=str, help="Value to associate with key", nargs="*")
    flag_group = parser.add_mutually_exclusive_group()
    flag_group.add_argument("-c", "--channel", action="store_true", dest="channel_flag",
                            help="Ensure a channel link is retrieved, or none is")
    flag_group.add_argument("-g", "--global", action="store_true", dest="global_flag",
                            help="Ignore channel link and force retrieval of global")
    parser.add_argument("-f", "--force-override", action="store_true", dest="override",
                        help="Must be passed if overriding a link")
    try:
        args = parser.parse_args(command.arg.split() if command.has_arg() else [])
    except SystemExit:
        # Incorrect Usage
        return bot.post_message(command.channel_id, "",
                                attachments=[Attachment(SectionBlock(str(parser.format_help())),
                                                        color=Color.YELLOW)._resolve()])
    channel = bot.channels.get(command.channel_id)
    if not channel:
        return bot.post_message(command.channel_id, "", attachments=[
            Attachment(SectionBlock("Cannot find channel name, please try again."),
                       color=Color.YELLOW)._resolve()
        ])
    channel_name = channel.name
    link_scope = LinkScope.CHANNEL if args.channel_flag else \
        LinkScope.GLOBAL if args.global_flag else None
    # Retrieve a link
    if not args.value:
        link_value, source = get_link_value(key=args.key,
                                            channel=channel_name,
                                            link_scope=link_scope)
        channel_text = f" in channel `{channel_name}`" if args.channel_flag else ""
        if link_value:
            source_text = source if source == 'global' else channel_name
            response = f"{args.key} ({source_text}): {link_value}"
        else:
            response = f"No link found for key: `{args.key}`" + channel_text
        color = Color.GREEN if link_value else Color.RED
        return bot.post_message(command.channel_id, "", attachments=[
            Attachment(SectionBlock(response), color=color)._resolve()
        ])
    # Set a link
    if args.key and args.value:
        result, current_value = set_link_value(key=args.key,
                                               channel=channel_name,
                                               value=" ".join(args.value),
                                               override=args.override,
                                               link_scope=link_scope)
        color = Color.YELLOW if result == SetResult.NEEDS_OVERRIDE else Color.GREEN
        scope = channel_name if args.channel_flag else 'global'
        response = f"{args.key} ({scope}): {current_value}"
        attachment = Attachment(SectionBlock(response), color=color)._resolve()
        bot.post_message(command.channel_id, f"{result.value}:", attachments=[attachment])