new_contents: from .installimage_config import InstallimageConfig
  
  
  def create(args):
      install_config = InstallimageConfig(args.mac)
  
      for var in args.var:
          install_config.add_or_set(var[0], var[1])
  
      install_config.create()
  
      msg = 'Created %s with following Options:\n%s' % (install_config.file_path(), install_config.get_content())
  
      print(msg)
  
  def list(args):
      for install_config in InstallimageConfig.all():
          print('%s' % install_config.mac)
  
  
  def remove(args):
      install_config = InstallimageConfig(args.mac)
      if install_config.remove():
          print('Removed', install_config.file_path())
      else:
          print('No entry found for', install_config.mac)
  
  
subject: Add cli handling for installimage