You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,12 @@ These are also updated when running `make build`. In the event you need to build
32
32
$ export REBUILD_DOCS="false"
33
33
```
34
34
35
+
To generate manually a Meroxa spec for Fig, you could simply run:
36
+
37
+
```shell
38
+
$ make fig
39
+
```
40
+
35
41
## Contributing
36
42
37
43
For a complete guide to contributing to the Meroxa CLI, see the [Contribution Guide](CONTRIBUTING.md).
@@ -81,6 +87,10 @@ git tag is pushed to the repo.
81
87
82
88
With every release, a new Homebrew formula will be automatically updated on [meroxa/homebrew-taps](https://github.com/meroxa/homebrew-taps).
83
89
90
+
When releasing a newer version of our Meroxa CLI, a new [Meroxa spec](https://github.com/withfig/autocomplete/blob/master/src/meroxa.ts) for [Fig](https://fig.io/) will be automatically generated in [meroxa/cli-autocomplete](https://github.com/meroxa/cli-autocomplete) via [this GitHub action](/.github/workflows/fig.yml).
91
+
92
+
Once a new pull-request is opened in [meroxa/cli-autocomplete](https://github.com/meroxa/cli-autocomplete), you'll need to submit a request to main's [withfig/autocomplete's](https://github.com/withfig/autocomplete) repository.
93
+
84
94
## Linting
85
95
86
96
If you want to make sure everything's correct before pushing to GitHub, you'll need to install [`golangci-lint`](https://golangci-lint.run/) and run:
Copy file name to clipboardexpand all lines: cmd/meroxa/root/apps/deploy.go
+4-4
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,10 @@ type deployApplicationClient interface {
62
62
63
63
typeDeploystruct {
64
64
flagsstruct {
65
-
Pathstring`long:"path" description:"path to the app directory (default is local directory)"`
66
-
DockerHubUserNamestring`long:"docker-hub-username" description:"DockerHub username to use to build and deploy the app" hidden:"true"`//nolint:lll
67
-
DockerHubAccessTokenstring`long:"docker-hub-access-token" description:"DockerHub access token to use to build and deploy the app" hidden:"true"`//nolint:lll
68
-
Specstring`long:"spec" description:"Deployment specification version to use to build and deploy the app" hidden:"true"`
65
+
Pathstring`long:"path" usage:"path to the app directory (default is local directory)"`
66
+
DockerHubUserNamestring`long:"docker-hub-username" usage:"DockerHub username to use to build and deploy the app" hidden:"true"`//nolint:lll
67
+
DockerHubAccessTokenstring`long:"docker-hub-access-token" usage:"DockerHub access token to use to build and deploy the app" hidden:"true"`//nolint:lll
68
+
Specstring`long:"spec" usage:"Deployment specification version to use to build and deploy the app" hidden:"true"`
0 commit comments