Skip to content

How can I get the user specified name in template? #7229

@JoonghyunCho

Description

@JoonghyunCho

Kindly asking questions about using sourceName value in template.

Situation

I know the sourceName will be automatically updated to the safe value. (for example, test-app -> test_app)
However, I have a simple template my team authoring that needs to use the original user specified name(test-app) in just one place which is one of the sourceName spots in the template.

Question

  • How can I get and use the user specified name value in template.json or in the file?
  • How can I conditionally use this user specified name at the specific sourceName spot?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions