Skip to content

Option name conversion needs improvement #12

@brad-jones

Description

@brad-jones

david [11:40 AM]
Can’t seem to get gomake to name the argument the way I want.
osuImageEABAv2 is resolving to --osu-image-eab-av-2 somehow, and osuImageEABAV2 is resolving to --osu-image-eabav-2. Do you know how I can make it resolve to --osu-image-eabav2?

brad [11:46 AM]
Hmm might be a bug in gomake it's self. Give me a sec and I'll look at the code that actually does the name resolution

brad [12:00 PM]
Haha well it's not my code lol. I am using https://github.com/pinzolo/casee/blob/master/casee.go#L38 to do the name conversion.
Just use osuImageEABA2 it results in --osu-image-eaba-2 which isn't horrible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions