gojek / weaver

An Advanced HTTP Reverse Proxy with Dynamic Sharding Strategies
Apache License 2.0
601 stars 53 forks source link

Adding ACL List, Show Cli #25

Open gwthm-in opened 5 years ago

gwthm-in commented 5 years ago

Weaver CLI is ready for review. Commands will register them selves with CLI. In main we need to import the commands that we want them to be with the binary.

Let's say we want to separate out acls commands, we can create weaverctl in cmd/weaverctl and import only acl commands. Binary produced from weaverctl will have only acls commands and will not have acl commands.

View layers currently renders output to json, this can manipulated easily using a flag and rending to outputs like yaml, table and etc. This will be a enhancement. For now will stick to json output.

gwthm-in commented 5 years ago

@rShetty this is done and ready for review. Will be adding create, edit cli's in future.