Skip to content

CLI › Whoami & Ls

Whoami & Ls

Quick identity and profile inspection. See what profile and wallet are active, and list all configured profiles.

Whoami

Show the active profile name, wallet public key, configured network, and RPC endpoint.

Who am I?

npx @trucore/atf@1.5.1 whoami
Profile:  default
Wallet:   7xKp...3mNv
Network:  devnet
RPC:      https://rpc.helius.xyz
CLI:      1.5.1

Ls (List Profiles)

List all configured profiles. The active profile is highlighted.

List profiles

npx @trucore/atf@1.5.1 ls
Profiles:
▸ default     (devnet, 7xKp...3mNv)
  staging     (devnet, BrnR...4kXz)
  production  (mainnet, 9aWq...7jPr)

JSON Output

Both commands support --json for scripting and CI integration.

Whoami as JSON

npx @trucore/atf@1.5.1 whoami --json

Ls as JSON

npx @trucore/atf@1.5.1 ls --json