Skip to content

Commit ab48fc0

Browse files
stainless-app[bot]yjp20
authored andcommitted
feat(api): sort org projects by creation time
1 parent d0923d5 commit ab48fc0

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 16
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-0eed0c3c47bb630ed692f2de1c5228e3e1a29f52489851aecc0b9f9f3b5bce61.yml
3-
openapi_spec_hash: c62aa08b1662b81b6ede9e298e4f1882
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-6ba564c3efa6385d6951b80bb8eed182cc36c10cd82d76859a8f47b367e6a444.yml
3+
openapi_spec_hash: 0125df9940333e3fd758598211aab613
44
config_hash: 90634c69edf6c56b14785217d1b0c0e0

pkg/cmd/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ var projectsUpdate = cli.Command{
112112

113113
var projectsList = cli.Command{
114114
Name: "list",
115-
Usage: "List projects in an organization",
115+
Usage: "List projects in an organization, from oldest to newest",
116116
Flags: []cli.Flag{
117117
&jsonflag.JSONStringFlag{
118118
Name: "cursor",

pkg/cmd/projectconfig.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ var projectsConfigsRetrieve = cli.Command{
2727
Path: "branch",
2828
},
2929
},
30+
&jsonflag.JSONStringFlag{
31+
Name: "include",
32+
Config: jsonflag.JSONConfig{
33+
Kind: jsonflag.Query,
34+
Path: "include",
35+
},
36+
},
3037
},
3138
Action: handleProjectsConfigsRetrieve,
3239
HideHelpCommand: true,

0 commit comments

Comments
 (0)