tmh, the TeachMeHIPAA CLI

tmh enrollments create

Create an enrollment

Synopsis

Invites a person to a course, creating their profile if needed, and uses one seat. The course defaults to hipaa. Requires the enrollments:write scope.

Scopes: enrollments:write

tmh enrollments create [flags]

Options

      --course-id hipaa    The course to invite them to. Defaults to hipaa.
  -d, --data stringArray   body field as key=value (dotted keys nest, key[]=v appends, key:=<json> sends JSON), or the whole body as @file, @- for stdin, or a JSON document; repeatable. Flags override -d fields, which override the document
      --email string       The learner's email address. (required)
  -h, --help               help for create
      --name string        The learner's full name.

Options inherited from parent commands

      --idempotency-key string   Idempotency-Key for the write, instead of a generated one
      --live                     use the "live" profile
      --max-retries int          times to retry a transient failure of a request that is safe to replay (default 2)
      --profile string           profile to use: "sandbox" (default) or "live"
      --show-headers             print each HTTP response's status and headers to stderr
      --verbose                  print method, path, status, latency and request id of each HTTP attempt to stderr

SEE ALSO