Skip to content

Commit e73a657

Browse files
yjp20claude
andcommitted
fix: link auth and workspace subcommands to main CLI
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent acf78a9 commit e73a657

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The CLI supports workspace configuration to avoid repeatedly specifying the proj
5050
You can initialize a workspace configuration with:
5151

5252
```sh
53-
stl init --project your-project-name
53+
stl workspace init --project your-project-name
5454
```
5555

5656
If you don't provide the `--project` flag, you'll be prompted to enter a project name.

pkg/cmd/cmd.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,22 @@ var Command = cli.Command{
1010
Name: "stl",
1111
Usage: "CLI for the stainless API",
1212
Commands: []*cli.Command{
13+
{
14+
Name: "auth",
15+
Commands: []*cli.Command{
16+
&authLogin,
17+
&authLogout,
18+
&authStatus,
19+
},
20+
},
21+
22+
{
23+
Name: "workspace",
24+
Commands: []*cli.Command{
25+
&initWorkspaceCommand,
26+
},
27+
},
28+
1329
{
1430
Name: "projects",
1531
Commands: []*cli.Command{

0 commit comments

Comments
 (0)