StackPanel

stack project default

Set or show the default project

stack project default

Set or show the default project.

The default project is used by the agent for v1 API requests that send no X-Stackpanel-Project header, when the agent has no current project.

Without arguments, shows the current default project. With a path argument, sets that project as the default.

Examples: stack project default # Show default project stack project default . # Set current directory as default stack project default ~/myproject # Set specific project as default stack project default --clear # Clear default project

Usage

stack project default [path]

Flags

FlagTypeDefaultDescription
--clearboolfalseClear the default project

Global Flags

These flags are inherited from parent commands.

FlagTypeDefaultDescription
--daemon, -dboolfalseRun in daemon mode (no TUI, for background processes)
--no-colorboolfalseDisable color output
--no-tuiboolfalseDisable interactive TUI mode
--verbose, -vboolfalseEnable verbose output

On this page