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

fix: mark endpoint and beta flags as hidden #113

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

brandonroberts
Copy link
Contributor

Description

Closes #103

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Steps to QA

  1. Run just build
  2. Run ./build/pizza -h
  3. Note the beta and endpoint flags are not shown
Usage:
  pizza generate codeowners path/to/repo [flags]

Flags:
  -h, --help                help for codeowners
      --owners-style-file   Whether to generate an agnostic OWNERS style file.
  -r, --range int           The number of days to lookback (default 90)

Global Flags:
  -c, --config string       The saucectl config (default "~/.sauced.yaml")
      --disable-telemetry   Disable sending telemetry data to OpenSauced
  -l, --log-level string    The logging level. Options: error, warn, info, debug (default "info")
  -o, --output string       The formatting for command output. One of: (table, yaml, csv, json) (default "table")
      --tty-disable         Disable log stylization. Suitable for CI/CD and automation

Tier (staff will fill in)

  • Tier 1
  • Tier 2
  • Tier 3
  • Tier 4

[optional] What gif best describes this PR or how it makes you feel?

cmd/root/root.go Outdated Show resolved Hide resolved
@brandonroberts brandonroberts requested a review from a team August 29, 2024 15:48
cmd/root/root.go Outdated Show resolved Hide resolved
Copy link
Member

@nickytonline nickytonline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jpmcb jpmcb merged commit 6aa250f into beta Aug 29, 2024
9 checks passed
open-sauced bot pushed a commit that referenced this pull request Aug 29, 2024
## [1.2.0-beta.11](v1.2.0-beta.10...v1.2.0-beta.11) (2024-08-29)

### 🐛 Bug Fixes

* mark endpoint and beta flags as hidden ([#113](#113)) ([6aa250f](6aa250f))
open-sauced bot pushed a commit that referenced this pull request Aug 30, 2024
## [1.2.0](v1.1.1...v1.2.0) (2024-08-30)

### 📝 Documentation

* updated comment for LoadConfig ([ab5206b](ab5206b))

### ✅ Tests

* added setup and teardown ([aba6310](aba6310))
* added tests for LoadConfig ([2a5f85d](2a5f85d))
* made tests parallel ([2b3d8ca](2b3d8ca))

### 🍕 Features

* added .sauced.yaml and updated CODEOWNERS file ([#109](#109)) ([dfc56cb](dfc56cb))
* added built at to version command ([#94](#94)) ([9960fc0](9960fc0))
* Codeowners generation ([#95](#95)) ([79cf8a2](79cf8a2))
* now generate codeowners checks in user root but also repository root folder for .sauced.yaml ([a0298b1](a0298b1))
* pizza login success page style refresh ([#112](#112)) ([9357dac](9357dac))
* Refactors Auth code into api/ directory ([#105](#105)) ([d851499](d851499))
* Skip semantic-release docker build in favor of buildx building ([d782974](d782974))
* Trim down CLI - remove unused, defunct commands ([#93](#93)) ([7ddd4b9](7ddd4b9))
* Upgrade Go module to use Go 1.22 ([#96](#96)) ([690b6e9](690b6e9))
* Use justfile vs. makefile ([#84](#84)) ([8f38eaf](8f38eaf))

### 🐛 Bug Fixes

* escape non-standard characters in the filename path ([#106](#106)) ([418951f](418951f))
* mark endpoint and beta flags as hidden ([#113](#113)) ([6aa250f](6aa250f))
* move output flag to insights command ([#115](#115)) ([be7f8cd](be7f8cd))
* update supabase keys for auth ([#80](#80)) ([247c431](247c431))
* use repository fullname to fetch contributors ([#77](#77)) ([5326875](5326875))
@jpmcb jpmcb deleted the fix-hidden-endpoint-beta-flags branch September 6, 2024 16: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.

Bug: --beta and --endpoint should be secret, hidden flags
3 participants