Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add local config that importers can refer to for correct contents. #23

Closed
adam-coster opened this issue Jan 14, 2021 · 0 comments
Closed
Labels
✨ feature New feature or request 📦 core Stitch Core and CLI

Comments

@adam-coster
Copy link
Member

While the Stitch CLI provides lots of options to fine-tune exactly what gets imported from a project, this always has to be done at the CLI level. Even the simplest imports require a pretty verbose command, so it is not easy to use. Also, project authors have no way of indicating which subset of the project should be imported.

Some sort of config file could be used on both the imported and importing projects to control the parameters in a stable, simpler way. That way an import command without options could default to the config file.

The first step of this would be a config file that a project author can specify to make it easier for that project to be imported into other projects.

Something like:

# @file stitch-import.yml

project:
  name: My Rad Project
  path: relative/path/to/project/folder
  options:
    # The non-default CLI options that would allow for proper import of this project...

Then the Stitch importer would be updated to allow for CLI args to be absent if such a file exists.

@adam-coster adam-coster added the ✨ feature New feature or request label Jan 14, 2021
@adam-coster adam-coster added the 📦 core Stitch Core and CLI label Jun 3, 2023
@adam-coster adam-coster closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request 📦 core Stitch Core and CLI
Projects
None yet
Development

No branches or pull requests

1 participant