usage: mila code [-h] [--cluster CLUSTER] [--command VALUE] [--job JOB_ID]
                 [--node NODE] [--persist] [--alloc ...] [--salloc ...]
                 [--sbatch ...]
                 [PATH]

positional arguments:
  PATH               Path to open on the remote machine. Defaults to $HOME.
                     Can be a relative or absolute path. When a relative path
                     (that doesn't start with a '/', like foo/bar) is passed,
                     the path is relative to the $HOME directory on the
                     selected cluster. For example, foo/project will be
                     interpreted as $HOME/foo/project.

optional arguments:
  -h, --help         show this help message and exit
  --cluster CLUSTER  Which cluster to connect to.
  --command VALUE    Command to use to start vscode (defaults to "code" or the
                     value of $MILATOOLS_CODE_COMMAND)
  --job JOB_ID       Job ID to connect to
  --node NODE        Node to connect to

Allocation optional arguments:
  Extra options to pass to slurm.

  --persist          Whether the server should persist or not when using
                     --alloc
  --alloc ...        Extra options to pass to salloc or to sbatch if --persist
                     is set.
  --salloc ...       Extra options to pass to salloc. Same as using --alloc
                     without --persist.
  --sbatch ...       Extra options to pass to sbatch. Same as using --alloc
                     with --persist.
