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

refactor: change default name for model format to improve help text #384

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

ewanharris
Copy link
Member

Description

Changes the default format to autodetect to better describe the default behaviour

fga model transform help text
Flags:
      --file fga.mod           File Name. The file should have the model in the JSON or DSL format or be an fga.mod format
  -h, --help                   help for transform
      --input-format format    Authorization model input format. Can be "fga", "json", or "modular" (default autodetect)
      --output-format format   Authorization model output format. Can be "fga" or "json"." (default autodetect)	

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@ewanharris ewanharris requested a review from a team as a code owner September 3, 2024 11:55
@ewanharris ewanharris added this pull request to the merge queue Sep 3, 2024
Merged via the queue into main with commit 36091f0 Sep 3, 2024
16 checks passed
@ewanharris ewanharris deleted the docs/improve-help-text branch September 3, 2024 12:36
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

Successfully merging this pull request may close these issues.

2 participants