Skip to content

Commit f7e2b45

Browse files
committed
can we add cx whoami command which will show the currently authenticated user/tenant information.
Files modified: 1 Changes: - internal/commands/root.go Build: ✓ Passed Tests: 0/0 passed
1 parent 6a12763 commit f7e2b45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/commands/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ func NewAstCLI(
242242
)
243243

244244
configCmd := util.NewConfigCommand()
245+
whoamiCmd := NewWhoamiCommand()
245246
triageCmd := NewResultsPredicatesCommand(resultsPredicatesWrapper, featureFlagsWrapper, customStatesWrapper)
246247

247248
chatCmd := NewChatCommand(chatWrapper, tenantWrapper)
@@ -257,6 +258,7 @@ func NewAstCLI(
257258
authCmd,
258259
utilsCmd,
259260
configCmd,
261+
whoamiCmd,
260262
chatCmd,
261263
hooksCmd,
262264
telemetryCmd,

0 commit comments

Comments
 (0)