Skip to content

feature request: 'nanoc compile --config'  #70

@0x1eef

Description

@0x1eef

Would it be possible for the nanoc compile command to accept a --config option that
would point at nanoc.yaml ? Tools like webpack and typescript's compiler provide a similar
feature, and it would be nice if nanoc could do the same.

I looked into it briefly and it appeared that it would require some refactoring. If a path was
given then we would use its contents to determine the "site dir" instead of how enter_site_dir
and friends currently work. It might require some effort but I'm curious if there's interest in supporting
a feature like that. Thanks

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