Skip to content

myst init argument --gh-pages invalidates other args like --site or --project when combined #2831

@mfisher87

Description

@mfisher87

Description

myst init --gh-pages --site --project only creates the .github directory, no myst.yml. No matter what order I do these args in, I only get the .github directory.

It seems natural these would be combinable! @fperez ran in to this today and the current behavior was confusing! I've experienced this before so I knew about it and we got around it pretty quick. I should have opened an issue earlier 😅

Proposed solution

Allow these flags to be combined or display an error that only one argument can be used at a time.

Additional notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions