

import click

from .services.twitter import TwitterDestroyer


@click.group()
def cli():
    pass


@click.command()
@click.option('--unfollow_nonfollowers', default=False, type=click.BOOL)
def twitter(unfollow_nonfollowers):
    twitter_destroyer = TwitterDestroyer(unfollow_nonfollowers)
    twitter_destroyer.destroy()


def main():
    cli.add_command(twitter)
    cli()



import click

from .services.twitter import TwitterDestroyer
from .services.facebook import FacebookDestroyer


@click.group()
def cli():
    pass


@click.command()
@click.option('--unfollow_nonfollowers', default=False, type=click.BOOL)
def twitter(unfollow_nonfollowers):
    twitter_destroyer = TwitterDestroyer(unfollow_nonfollowers)
    twitter_destroyer.destroy()


@click.command()
def facebook():
    facebook_destroyer = FacebookDestroyer()
    facebook_destroyer.destroy()


def main():
    cli.add_command(twitter)
    cli.add_command(facebook)
    cli()

Update main module with facebook integration
Update main module with facebook integration

  
  
  import click
  
  from .services.twitter import TwitterDestroyer
+ from .services.facebook import FacebookDestroyer
  
  
  @click.group()
  def cli():
      pass
  
  
  @click.command()
  @click.option('--unfollow_nonfollowers', default=False, type=click.BOOL)
  def twitter(unfollow_nonfollowers):
      twitter_destroyer = TwitterDestroyer(unfollow_nonfollowers)
      twitter_destroyer.destroy()
  
  
+ @click.command()
+ def facebook():
+     facebook_destroyer = FacebookDestroyer()
+     facebook_destroyer.destroy()
+ 
+ 
  def main():
      cli.add_command(twitter)
+     cli.add_command(facebook)
      cli()
  
Update main module with facebook integration
## Code Before:


import click

from .services.twitter import TwitterDestroyer


@click.group()
def cli():
    pass


@click.command()
@click.option('--unfollow_nonfollowers', default=False, type=click.BOOL)
def twitter(unfollow_nonfollowers):
    twitter_destroyer = TwitterDestroyer(unfollow_nonfollowers)
    twitter_destroyer.destroy()


def main():
    cli.add_command(twitter)
    cli()

## Instruction:
Update main module with facebook integration
## Code After:


import click

from .services.twitter import TwitterDestroyer
from .services.facebook import FacebookDestroyer


@click.group()
def cli():
    pass


@click.command()
@click.option('--unfollow_nonfollowers', default=False, type=click.BOOL)
def twitter(unfollow_nonfollowers):
    twitter_destroyer = TwitterDestroyer(unfollow_nonfollowers)
    twitter_destroyer.destroy()


@click.command()
def facebook():
    facebook_destroyer = FacebookDestroyer()
    facebook_destroyer.destroy()


def main():
    cli.add_command(twitter)
    cli.add_command(facebook)
    cli()
