-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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(cli): add support for multiple sources to app diff|manifests command with revisions
flag
#17650
feat(cli): add support for multiple sources to app diff|manifests command with revisions
flag
#17650
Changes from all commits
a4f6909
34698c6
01d4a82
9f1e95a
e9579c2
27f3700
edef6f0
014c93c
9bbe20c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,9 @@ argocd app diff APPNAME [flags] | |
--local-repo-root string Path to the repository root. Used together with --local allows setting the repository root (default "/") | ||
--refresh Refresh application data when retrieving | ||
--revision string Compare live app to a particular revision | ||
--revisions stringArray Show manifests at specific revisions for the index of sources in source-indexes | ||
--server-side-generate Used with --local, this will send your manifests to the server for diffing | ||
--source-indexes int64Slice List of source indexes. Default is empty array. Indexes start at 1. (default []) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately, this is an auto-generated document. I am using |
||
``` | ||
|
||
### Options inherited from parent commands | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be
int64
? I feel we can useuint
orunit32
here as the index positions do not have negative numbers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command flagset does not support
uint
oruint32
. Thus, had to keep itint
orint64
. Had usedint64
to keep it consistent with what is needed byrevisionSourceMappings
. I can change this toint
and then typecast it toint64
for creatingrevisionSourceMappings
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If flagset support is missing for
uint
, then let's stick toint64