-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate Markdown files of commands #63
Comments
Preview of the generated documentation below in next comment. It's just with what I have now but will be filled out soon with full documentation. Any feedback regarding layout or structure please let me know @ikethecoder , @JohnathanBrammall . I think we should plan to run the generate command each production build, I just want to coordinate with the team working on Backstage to coordinate the best way to do that, I'll reach out to the DevEx team to see what the best way to do that is. |
GWA CLI CommandsapplyUsage: Flags
Examples $ gwa apply --input gw-config.yaml
configUsage: config.getUsage: config.setExposes some specific config values that can be defined by the user. Configurable Settings: Usage: Flags
Examples $ gwa config set namespace ns-sampler
$ gwa config set --namespace ns-sampler
generate-configUsage: Flags
Examples $ gwa generate-config --template kong-httpbin --service my-service --upstream https://httpbin.org
$ gwa generate-config --template client-credentials-shared-idp --service my-service --upstream https://www.boredapi.com/api/activity
getUsage: Flags
Examples $ gwa get datasets
$ gwa get datasets --json
$ gwa get datasets --yaml initGenerates a .env file in the current working directory. To create and work with configurations you don't require CLIENT_ID or CLIENT_SECRET, but to make any API requests you will Usage: Flags
loginYou can login via device login or by using client credentials. Usage: Flags
Examples $ gwa login
$ gwa login --client-id <YOUR_CLIENT_ID> --client-secret <YOUR_CLIENT_SECRET> namespaceLonger explanation to come... Usage: namespace.createUsage: Flags
namespace.currentUsage: namespace.destroyUsage: Flags
namespace.listUsage: publishUsage: Flags
Examples $ gwa publish dataset --input content.yaml
$ gwa publish product --input content.yaml
$ gwa publish issuer --input content.yaml
publish-gatewayUsage: Flags
Examples $ gwa publish-gateway path/to/config.yaml
$ gwa publish-gateway path/to/config.yaml --dry-run statusUsage: Flags
Examples $ gwa status
$ gwa status --json |
I have connected with Monica from the Dev Experience team and they want us to confirm the following:
|
To cut down on duplicating sources of truth, write a Go build script to generate Markdown files from each
cmd/command_file.go
file which can either be hosted in Github pages or a hosted government website.The text was updated successfully, but these errors were encountered: