hth init <URL> creates a local directory. To interactively create the local directory, run hth init without a URL.


There are no commands available for hth init <URL>.


Flags Description
-c or --company Set the company ID.
-d or --depot Set the depot.
-f or --filename Set the manifest repository filename.
-i or --instance Set the Helix TeamHub instance URL.
--password Set the password.
-p or --project Set the project ID.
--ref Set the manifest repository reference.
-r or --repository Set the manifest repository ID.
-u or --user Set the user ID.

Usage example

With a URL:

hth init <URL>

Without a URL:

hth init

hth-cli will:

  1. request the instance name
  2. request the company name
  3. use the active session if there is one. If there is no active session, hth-cli requests your log in details.
  4. offer to store the instance and company in the global config
  5. request the project name
  6. request the manifest repository with the option to create a new one:
    • Existing repository selected, hth-cli will:
      1. fetch the manifest repository data including the clone_url
      2. clone the manifest repository
    • New repository selected, hth-cli will:
      1. request a new short name
      2. request the manifest property
      3. generate the manifest flag
      4. clone the manifest repository
  • To edit the manifest, run hth manifest edit
  • To commit the changes and upload to Helix TeamHub, run hth manifest upload