old_contents: #!/usr/bin/env python3
  
  
  """
  Copyright (C) 2022 Fondazione Istituto Italiano di Tecnologia
  
  Licensed under either the GNU Lesser General Public License v3.0 :
  https://www.gnu.org/licenses/lgpl-3.0.html
  or the GNU Lesser General Public License v2.1 :
  https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
  at your option.
  """
  
  import argparse
  
  from idyntree.visualize import MeshcatVisualizer
  
  
  def main():
      parser = argparse.ArgumentParser(
          description="Display the model in the meshcat visualizer."
      )
      parser.add_argument("--model", "-m", type=str, required=True, help="Model path.")
  
      args = parser.parse_args()
  
      # Load the visualizer
      viz = MeshcatVisualizer()
      viz.load_model_from_file(args.model)
      viz.open()
  
      run = True
      while run:
          quit = input("Enter q or Q to Quit: ")
          run = (quit != "q") and (quit != "Q")
  
  
  if __name__ == "__main__":
      main()
  
new_contents: #!/usr/bin/env python3
  
  
  """
  Copyright (C) 2022 Fondazione Istituto Italiano di Tecnologia
  
  Licensed under either the GNU Lesser General Public License v3.0 :
  https://www.gnu.org/licenses/lgpl-3.0.html
  or the GNU Lesser General Public License v2.1 :
  https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
  at your option.
  """
  
  import argparse
  
  from idyntree.visualize import MeshcatVisualizer
  
  
  def main():
      parser = argparse.ArgumentParser(
          description="Display the model in the meshcat visualizer."
      )
      parser.add_argument("--model", "-m", type=str, required=True, help="Model path.")
      parser.add_argument("--alpha", "-a", type=float, required=False, help="Alpha channel of the model.")
  
      args = parser.parse_args()
  
      # Load the visualizer
      viz = MeshcatVisualizer()
      viz.load_model_from_file(args.model, color=args.alpha)
      viz.open()
  
      run = True
      while run:
          quit = input("Enter q or Q to Quit: ")
          run = (quit != "q") and (quit != "Q")
  
  
  if __name__ == "__main__":
      main()
  
subject: Update the idyntree-model-view-meshcat accordingly to b37c71c692d54b6ce90898bf2a86131fb618881f