Skip to main content

A CLI application for creating NeuronSphere-compliant project repositories from templates. This tool is also the base for multi-repository operations.

  • Additional Requirements

  • Git

## Basic Usage

hmd repo create will provide prompts to choose which Project Type Category and then Project Type you want to create. After having selected a Project Type, you will be prompted for any additional information need to create the project, i.e. a name for the project.

After all prompts have been answered, it will render a series of templates into a folder with the Project Name. This will be a standard Git repository and all generated files will be committed for you. Depending on configuration, this may create a remote repository and push the initial code as well.

Commands

  • hmd repo create: create a NeuronSphere-compliant repository based on chosen Project Type

  • hmd repo add: overlay a new Project Type onto an existing repository in a new branch

  • hmd repo configure: configures hmd-cli-repo specific environment variables in $HMD_HOME/.config/hmd.env

  • hmd repo pull-all: pull all changes and new repositories from a GitHub organization locally into $HMD_REPO_HOME

  • hmd repo create-remote: create a remote repository for an existing local repo, will set origin remote in Git to new remote.

TODO: more descriptions and examples of these commands

Environment Variables

This command must be run with a valid HMD_HOME set and configured.

Optional Variables

  • HMD_REPO_ORG_NAME: a common org code prefix to prepend to all create repo names.

  • HMD_REPO_REMOTE_GITHUB_ENABLED: if set to “true”, a remote repository will be created in GitHub upon running hmd repo create

  • HMD_GH_USERNAME: the GitHub username to use

  • HMD_GH_PASSWORD: the GitHub PAT to use

  • HMD_GH_ORG_NAME: the GitHub Organization to create the repository in

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hmd_cli_repo-0.3.171-py3-none-any.whl (154.0 kB view details)

Uploaded Python 3

File details

Details for the file hmd_cli_repo-0.3.171-py3-none-any.whl.

File metadata

  • Download URL: hmd_cli_repo-0.3.171-py3-none-any.whl
  • Upload date:
  • Size: 154.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.14

File hashes

Hashes for hmd_cli_repo-0.3.171-py3-none-any.whl
Algorithm Hash digest
SHA256 36e8294bb421ba514a7b2d2f67e3e578d01c9fbc723977656d3ae4e1a430011c
MD5 a71c3fb8262cdadeb9b88cc8709b7bc2
BLAKE2b-256 64d6d34ff090098a32121f9f3df8a6885c19658847e1ba008a5e664220607c39

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.171 This release

1 file

0.3.165

1 file

0.3.164

1 file

0.3.154

1 file

0.3.149

1 file

0.3.141

1 file

0.3.139

1 file

0.3.135

1 file

0.3.133

1 file

0.3.128

1 file

0.3.122

1 file

0.2.118

1 file

0.2.116

1 file

0.2.115

1 file

0.2.113

1 file

0.2.112

1 file

0.2.95

1 file

0.2.94

1 file

0.2.90

1 file

0.2.85

1 file

0.2.84

1 file

0.2.83

1 file

0.2.82

1 file

0.2.81

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page