pulumi Verified current stable Not installed? Documentation

Pulumi / Display Help For Whoami Command

Display Help For Whoami Command

Displays help information for the whoami command.

$
Terminal
pulumi whoami -h

When To Use

When seeking clarification on usage for user authentication commands.

Pro Tip

Use -h with other commands for consistent help access across Pulumi.

Anatomy of Output

Understanding the result

$ pulumi whoami --help Command Invoked

Requests help documentation for the whoami command.

Usage: pulumi whoami [flags] Command Usage Line

Shows the general structure of the command.

Flags: Available Flags

Lists all flags that can be used with the command.

Power User Variants

Optimized versions

pulumi whoami -h

Shorthand for displaying help.

pulumi help whoami

Alternative method to access help documentation.

Troubleshooting

Common pitfalls

Error: unknown flag: --foobar

Solution: Check help output for valid flags.

Error: unable to access documentation

Solution: Ensure you have internet access to retrieve online help.

Error: help not found

Solution: Verify that the command is correctly typed.

Command Breakdown

What each part is doing

pulumi
Base Command
The executable that performs this operation. Here it runs Pulumi before the shell applies any redirect operators.
-h
h| help
The value supplied for h| help.
-h
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative documentation tools for the same job.