code: def package(
      dist_dir=None,
      upload=False,
      upload_test=False,
      repo=None,
      sign=False,
      identity=None,
      user=None,
      password=None,
      skip_existing=False,
      comment=None,
      clean=False,
      cwd=".",
      guild_home=None,
  ):
      from guild import click_util
      from guild.commands import package_impl
  
      args = click_util.Args(
          dist_dir=dist_dir,
          upload=upload,
          upload_test=upload_test,
          repo=repo,
          sign=sign,
          identity=identity,
          user=user,
          password=password,
          skip_existing=skip_existing,
          comment=comment,
          clean=clean,
          capture_output=True,
      )
      with Env(cwd, guild_home):
          out = package_impl.main(args)
          print(out.decode())
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 23 for calling a global function with example usage: package(dist_dir, upload, upload_test, repo, sign, identity, user, password, skip_existing, comment, clean, cwd, guild_home) without return types