Commit ade7aa4
authored
feat: Publish command (cloudquery#13948)
This adds a `cloudquery publish` command to the CLI that can publish plugins to the upcoming CloudQuery registry. It reads a `dist` directory with package.json, created by the plugin-sdk, and calls the CloudQuery API to upload the files and metadata in the directory as a new plugin version. This command will mainly be used by plugin authors to upload a new version of their plugin to the registry.1 parent 15b0b69 commit ade7aa4
14 files changed
Lines changed: 1172 additions & 23 deletions
File tree
- cli
- cmd
- testdata/dist-v1
- docs
- internal/auth
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 83 | | |
100 | 84 | | |
101 | 85 | | |
| |||
158 | 142 | | |
159 | 143 | | |
160 | 144 | | |
161 | | - | |
162 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
163 | 148 | | |
164 | 149 | | |
165 | 150 | | |
| |||
0 commit comments