code: def main():
      # requires sudo privileges
      parser = argparse.ArgumentParser()
      subparsers = parser.add_subparsers(required=True)
  
      install_parser = subparsers.add_parser("install")
      install_parser.set_defaults(action=install_action)
      install_parser.add_argument("--run", action="store_true")
  
      args = parser.parse_args()
  
      args.action(args)
  
file_path: dstack/gateway/src/dstack/gateway/systemd/__main__.py
imports: import argparse
  import importlib.resources
  import os
  import pwd
  import subprocess
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types