Skip to content

[Feature]: Support .scaffinityignore file for export command #28

Description

@devi5040

What problem does this solve?

The export command currently only supports ignore patterns passed through the --ignore CLI option.

This means users must repeatedly provide the same ignore patterns every time they export a project, which is inconvenient for frequently exported repositories.

Proposed solution

Support a .scaffinityignore file in the project root.

The file should use standard .gitignore-style syntax and automatically be loaded during the export process.

CLI-provided --ignore patterns should continue to work and may optionally override or extend the patterns defined in .scaffinityignore.

Example:

node_modules
dist
.env
coverage
*.log

Usage:

scaffinity export

No additional flags should be required.

Alternatives considered

Continue passing patterns through the --ignore option, but this becomes repetitive and harder to maintain across projects.

Would you be willing to open a PR for this?

  • Yes, I'd like to work on this
  • No, just suggesting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions