You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
### Fixes
10
10
11
11
- Fixed a bug where the `dart-symbol-map` command did not accept the `--url` argument ([#3108](https://github.com/getsentry/sentry-cli/pull/3108)).
12
+
- The `dart-symbol-map upload` command now correctly resolves the organization from the auth token payload ([#3065](https://github.com/getsentry/sentry-cli/pull/3065)).
use clap::{ArgMatches,Args,Command,Parseras _,Subcommand};
2
+
use clap::{ArgMatches,Command};
3
+
4
+
usecrate::utils::args::ArgExtas _;
3
5
4
6
pubmod upload;
5
7
6
8
constGROUP_ABOUT:&str = "Manage Dart/Flutter symbol maps for Sentry.";
7
-
constUPLOAD_ABOUT:&str =
8
-
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.";
9
-
constUPLOAD_LONG_ABOUT:&str =
10
-
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.{n}{n}Examples:{n} sentry-cli dart-symbol-map upload --org my-org --project my-proj path/to/dartsymbolmap.json path/to/debug/file{n}{n}The mapping must be a JSON array of strings with an even number of entries (pairs).{n}The debug file must contain exactly one Debug ID. {n}{n}\
11
-
This command is supported on Sentry SaaS and self-hosted versions ≥25.8.0.";
.about("Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.")
51
+
.long_about(
52
+
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.{n}{n}Examples:{n} sentry-cli dart-symbol-map upload --org my-org --project my-proj path/to/dartsymbolmap.json path/to/debug/file{n}{n}The mapping must be a JSON array of strings with an even number of entries (pairs).{n}The debug file must contain exactly one Debug ID. {n}{n}\
53
+
This command is supported on Sentry SaaS and self-hosted versions ≥25.8.0.",
54
+
)
55
+
.arg(
56
+
Arg::new(MAPPING_ARG)
57
+
.value_name("MAPPING")
58
+
.required(true)
59
+
.help("Path to the dartsymbolmap JSON file (e.g. dartsymbolmap.json). Must be a JSON array of strings with an even number of entries (pairs)."),
60
+
)
61
+
.arg(
62
+
Arg::new(DEBUG_FILE_ARG)
63
+
.value_name("DEBUG_FILE")
64
+
.required(true)
65
+
.help("Path to the corresponding debug file to extract the Debug ID from. The file must contain exactly one Debug ID."),
0 commit comments