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

Infer language argument from database #14

Open
zbazztian opened this issue Aug 1, 2022 · 3 comments
Open

Infer language argument from database #14

zbazztian opened this issue Aug 1, 2022 · 3 comments
Assignees

Comments

@zbazztian
Copy link
Contributor

Databases have a primaryLanguage field in their manifest, which could be used to automatically set --language. That way we could likely remove --language altogether and make the cli interface more convenient.

@GeekMasher
Copy link
Collaborator

Love the idea! My plan was to have this automatically but easier to ask users to start with

@zbazztian
Copy link
Contributor Author

Makes sense. Note that the information about the db language requires some yaml parsing. I have something readily manufactured, from tailor... ;-)

@GeekMasher GeekMasher self-assigned this Aug 1, 2022
GeekMasher added a commit that referenced this issue Aug 1, 2022
- Deprecate `--working` in favour of using `-o`
- Added DB language detection #14
- Remove requirement for `--github-repository` to be set for certain
  tasks
- Better output support to fix file / dir issues
@GeekMasher
Copy link
Collaborator

Partially fixed with #19 but you need to have pyyaml installed. Maybe a simple regex to find the language would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants