Skip to content

Applying template does not exit the cli #99

@Leptopoda

Description

@Leptopoda

Since v0.7.0 the cli does no longer exit after applying the template.
The command has to be manually interrupted using crtl+C.

I can consistently reproduce this with v0.7.0 and 0.7.2 running:

pnpx directus-template-cli@0.7.0 apply -p --disableTelemetry \
  --directusUrl "http://directus:8055" \
  --userEmail "admin@example.com" \
  --userPassword "d1r3ctu5" \
  --templateLocation ./directus/templates/some-template

After printing Template applied successfully. or the licensing information, the command keeps running.

This is particularly annoying in CI environments, where this will lead to the job hanging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions