text: import argparse
  from cigam import Magic, __VERSION__
  
  
  def main(args):
      print(Magic(args.p).get_type())
  
  
  if __name__ == '__main__':
  
      parser = argparse.ArgumentParser(prog='cigam', description=None)
      parser.add_argument('p', help='path')
  
      parser.add_argument('-V', '--version', action='version',
                          version=__VERSION__)
  
      args = parser.parse_args()
      main(args)
  