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

feat: allow to specify subdirectory as source #14

Open
norskeld opened this issue Dec 20, 2023 · 0 comments
Open

feat: allow to specify subdirectory as source #14

norskeld opened this issue Dec 20, 2023 · 0 comments
Assignees
Labels
feat New feature or request

Comments

@norskeld
Copy link
Owner

norskeld commented Dec 20, 2023

While you can't download a specific directory from a repository using GitHub API or direct links, such functionality would be useful/desirable in some cases.

For instance, we may have a repository with multiple templates located in different subdirectories:

repository
├── code-style
│   └── arx.kdl
├── frontend
│   └── arx.kdl
└── server
    └── arx.kdl

We should be able to use one of them as the template. What should be added:

  • CLI option, e.g. arx remote user/repo#ac75a88 --path frontend
  • Ability to specify a directory using the source syntax, e.g. arx remote user/repo@frontend#ac75a88
@norskeld norskeld added the feat New feature or request label Dec 20, 2023
@norskeld norskeld self-assigned this Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant