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

Feature: Specify Output Directory for CODEOWNERS file #222

Closed
udaypatel1 opened this issue Oct 14, 2024 · 2 comments · Fixed by #223
Closed

Feature: Specify Output Directory for CODEOWNERS file #222

udaypatel1 opened this issue Oct 14, 2024 · 2 comments · Fixed by #223

Comments

@udaypatel1
Copy link
Contributor

Suggested solution

In it's current state, the following are available options for generating a CODEOWNERS file via the CLI:

Flags:
  -h, --help                help for codeowners
      --owners-style-file   Generate an agnostic OWNERS style file instead of CODEOWNERS.
  -r, --range int           The number of days to analyze commit history (default 90) (default 90)

Global Flags:
  -c, --config string       The codeowners config
      --disable-telemetry   Disable sending telemetry data to OpenSauced
  -l, --log-level string    The logging level. Options: error, warn, info, debug (default "info")
      --tty-disable         Disable log stylization. Suitable for CI/CD and automation

I want to specify an output directory whereby I can put my generated CODEOWNERS file.

Example: pizza generate codeowners . -o .bitbucket/

In Bitbucket SCM, the CODEOWNERS file must be under .bitbucket/ and so this way, I can explicitly define where to put the auto-generated file.

This would natively support an output flag -o for this portion of the CLI and give flexibility in defining where to put the CODEOWNERS file in your repository.

Thanks! 😁🚀

@jpmcb
Copy link
Member

jpmcb commented Oct 14, 2024

Thanks for the issue! I've assigned you!!

Copy link
Contributor

open-sauced bot commented Oct 16, 2024

🎉 This issue has been resolved in version 2.4.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants