Comments (6)
I don't see an update command, maybe you're on an older version of Kong?
$ go run main.go
Usage: main <command>
Flags:
--help Show context-sensitive help.
--debug Enable debug mode.
Commands:
database unused get unused database
Run "main <command> --help" for more information on a command.
main: error: expected "database"
from kong.
There was a fix in 4e98780 for something similar.
from kong.
@alecthomas try to run go run main.go database
, you will see the update command
from kong.
$ go run main.go database
Usage: main database <command>
database related commands
Flags:
--help Show context-sensitive help.
--debug Enable debug mode.
Commands:
database unused get unused database
main: error: expected "unused"
from kong.
I specified the kong version built with the main script and see the same as you do. I'll go and check the version we used. Thanks for looking into it.
from kong.
from kong.
Related Issues (20)
- Support aliases for all switches
- Generating helm charts (values.yaml) automatically from Kong configuration
- Provide args to subcommand HOT 2
- Can enum fields show their value in the help? HOT 1
- Negative numbers do not work with short version of flag HOT 7
- Dynamically Hide Flags with Variables HOT 1
- space as a separator for slices does not work with flags HOT 2
- Kong introduces extra backslashes in argument defaults HOT 2
- TestCustomWrap fails with go1.19 HOT 1
- Add flags dynamically
- Too verbose error message when using Validate HOT 7
- existingdir with default validated and stops program run on unused-subcommand
- `${default}` not interpolated into `help` if using vars HOT 3
- can not combine `optional enum` and `xor groups` HOT 2
- In command's Validate I cannot access top-level configuration/flags
- "prefix" doesn't prefix xor names
- Ignore required field if struct already has a default value HOT 1
- `filecontent` argument fields appear to accept multiple arguments HOT 3
- Is it posible to use `--camelCase` for flags? HOT 2
- example for reading a toml file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kong.