Skip to content

Commit 7a4e137

Browse files
stainless-app[bot]yjp20
authored andcommitted
chore(internal): codegen related update
1 parent 15bcd5e commit 7a4e137

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ stl builds create [--allow-empty] [--project <name>]
3737

3838
For details about specific commands, use the `--help` flag.
3939

40+
## Global Flags
41+
42+
- `--debug` - Enable debug logging (includes HTTP request/response details)
43+
- `--version`, `-v` - Show the CLI version
44+
4045
## Workspace Configuration
4146

4247
The CLI supports workspace configuration to avoid repeatedly specifying the project name. When you run a command, the CLI will:

pkg/cmd/cmd.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import (
77
)
88

99
var Command = cli.Command{
10-
Name: "stl",
11-
Usage: "CLI for the stainless API",
10+
Name: "stl",
11+
Usage: "CLI for the stainless API",
12+
Version: Version,
1213
Flags: []cli.Flag{
1314
&cli.BoolFlag{
1415
Name: "debug",

pkg/cmd/version.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
package cmd
4+
5+
const Version = "0.0.1-alpha.0" // x-release-please-version

0 commit comments

Comments
 (0)