Skip to content

Commit c1e2d83

Browse files
stainless-app[bot]yjp20
authored andcommitted
feat(api): manual updates
1 parent bcae7cd commit c1e2d83

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.prism.log
22
dist/
3-
/stainless-api-cli
3+
/stl

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
project_name: stainless-api-cli
1+
project_name: stl
22
version: 2
33

44
builds:
55
- id: macos
66
goos: [darwin]
77
goarch: [amd64, arm64]
88
binary: '{{ .ProjectName }}'
9-
main: ./cmd/stainless-api-cli/main.go
9+
main: ./cmd/stl/main.go
1010
mod_timestamp: "{{ .CommitTimestamp }}"
1111
ldflags:
1212
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
@@ -17,7 +17,7 @@ builds:
1717
env:
1818
- CGO_ENABLED=0
1919
binary: '{{ .ProjectName }}'
20-
main: ./cmd/stainless-api-cli/main.go
20+
main: ./cmd/stl/main.go
2121
mod_timestamp: "{{ .CommitTimestamp }}"
2222
ldflags:
2323
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
@@ -26,7 +26,7 @@ builds:
2626
goos: [windows]
2727
goarch: ['386', amd64, arm64]
2828
binary: '{{ .ProjectName }}'
29-
main: ./cmd/stainless-api-cli/main.go
29+
main: ./cmd/stl/main.go
3030
mod_timestamp: "{{ .CommitTimestamp }}"
3131
ldflags:
3232
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 15
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-cfef2e882e091dad51a5b53bc39cc251ecf3f71cc0328561cec6309e8bbac93a.yml
33
openapi_spec_hash: fac1531252a5b791107de8257fdcf3cb
4-
config_hash: e6d0ab5c40b50d896cdcacb62260c926
4+
config_hash: aa4f9cb46619002efac0567659fb3851

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Stainless V0
189+
Copyright 2025 Stainless
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Stainless V0 CLI
1+
# Stainless CLI
22

3-
The official CLI for the Stainless V0 REST API.
3+
The official CLI for the Stainless REST API.
44

55
It is generated with [Stainless](https://www.stainless.com/).
66

@@ -21,11 +21,11 @@ go install 'github.com/stainless-api/stainless-api-cli'
2121
The CLI follows a resource-based command structure:
2222

2323
```sh
24-
stainless-api-cli [resource] [command] [flags]
24+
stl [resource] [command] [flags]
2525
```
2626

2727
```sh
28-
stainless-api-cli builds create \
28+
stl builds create \
2929
--revision string
3030
```
3131

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ before making any information public.
1616
## Reporting Non-SDK Related Security Issues
1717

1818
If you encounter security issues that are not directly related to SDKs but pertain to the services
19-
or products provided by Stainless V0, please follow the respective company's security reporting guidelines.
19+
or products provided by Stainless, please follow the respective company's security reporting guidelines.
2020

2121
---
2222

pkg/cmd/cmd.go

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

99
var Command = cli.Command{
10-
Name: "stainless-api-cli",
11-
Usage: "CLI for the stainless-v0 API",
10+
Name: "stl",
11+
Usage: "CLI for the stainless API",
1212
Commands: []*cli.Command{
1313
{
1414
Name: "projects",

scripts/link

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [[ -n "$1" ]]; then
88
LOCAL_GO="$1"
99
shift
1010
else
11-
LOCAL_GO=../stainless-v0-go
11+
LOCAL_GO=../stainless-go
1212
fi
1313

1414
echo "==> Linking with local directory"

0 commit comments

Comments
 (0)