Summary
Many CLI subcommands that make RPC calls are missing the --header / -H flag, making it impossible to pass authentication headers (e.g., session cookies). Only create subcommands and preferences commands currently support it.
Affected commands
| Command |
create |
list |
view |
edit |
organization |
-H |
missing |
missing |
missing |
project |
-H |
missing |
missing |
missing |
group |
-H |
missing |
missing |
missing |
user |
-H |
missing |
missing |
missing |
role |
-H |
missing |
missing |
missing |
permission |
-H |
missing |
missing |
missing |
policy |
-H |
missing |
- |
missing |
namespace |
- |
missing |
missing |
- |
preferences |
- |
-H |
-H |
-H |
Expected behavior
All subcommands that make RPC calls should support --header / -H for passing authentication headers:
./frontier organization list -H "Cookie:sid=<session>"
./frontier user view <id> -H "Cookie:sid=<session>"
./frontier namespace list -H "Cookie:sid=<session>"
🤖 Generated with Claude Code