|
| 1 | +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. |
| 2 | + |
| 3 | +package cmd |
| 4 | + |
| 5 | +import ( |
| 6 | + "github.com/urfave/cli/v3" |
| 7 | +) |
| 8 | + |
| 9 | +var Command = cli.Command{ |
| 10 | + Name: "stainless-api-cli", |
| 11 | + Usage: "CLI for the stainless-v0 API", |
| 12 | + Commands: []*cli.Command{ |
| 13 | + { |
| 14 | + Name: "projects", |
| 15 | + Commands: []*cli.Command{ |
| 16 | + &projectsRetrieve, |
| 17 | + &projectsUpdate, |
| 18 | + &projectsList, |
| 19 | + }, |
| 20 | + }, |
| 21 | + |
| 22 | + { |
| 23 | + Name: "projects:branches", |
| 24 | + Commands: []*cli.Command{ |
| 25 | + &projectsBranchesCreate, |
| 26 | + &projectsBranchesRetrieve, |
| 27 | + }, |
| 28 | + }, |
| 29 | + |
| 30 | + { |
| 31 | + Name: "projects:configs", |
| 32 | + Commands: []*cli.Command{ |
| 33 | + &projectsConfigsRetrieve, |
| 34 | + &projectsConfigsGuess, |
| 35 | + }, |
| 36 | + }, |
| 37 | + |
| 38 | + { |
| 39 | + Name: "projects:snippets", |
| 40 | + Commands: []*cli.Command{ |
| 41 | + &projectsSnippetsCreateRequest, |
| 42 | + }, |
| 43 | + }, |
| 44 | + |
| 45 | + { |
| 46 | + Name: "builds", |
| 47 | + Commands: []*cli.Command{ |
| 48 | + &buildsCreate, |
| 49 | + &buildsRetrieve, |
| 50 | + &buildsList, |
| 51 | + &buildsCompare, |
| 52 | + }, |
| 53 | + }, |
| 54 | + |
| 55 | + { |
| 56 | + Name: "build_target_outputs", |
| 57 | + Commands: []*cli.Command{ |
| 58 | + &buildTargetOutputsRetrieve, |
| 59 | + }, |
| 60 | + }, |
| 61 | + |
| 62 | + { |
| 63 | + Name: "orgs", |
| 64 | + Commands: []*cli.Command{ |
| 65 | + &orgsRetrieve, |
| 66 | + &orgsList, |
| 67 | + }, |
| 68 | + }, |
| 69 | + }, |
| 70 | + EnableShellCompletion: true, |
| 71 | + HideHelpCommand: true, |
| 72 | +} |
0 commit comments