Skip to content

The --output option should create subdirs in target dir #105

Open
@danielrentz

Description

@danielrentz

Environment

Node 22.14.0
Automd 0.4.0

Reproduction

Describe the bug

automd should replicate deep directory structure when generating into another output dir.

Example

$ automd --dir src --input "**/*.md" --output ../docs

ERROR  ENOENT: no such file or directory, open '...../docs/sub/sub/index.md'

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions