2
0
Fork
You've already forked egcli
0
No description
  • Go 97.6%
  • Makefile 2.4%
Finn 2f4df1ce2b
All checks were successful
/ build-container (push) Successful in 15s
/ test (push) Successful in 4m2s
upload builds from CI
2023年10月16日 09:21:53 -07:00
.forgejo/workflows upload builds from CI 2023年10月16日 09:21:53 -07:00
cmd/eg update repo 2023年07月31日 23:48:33 -07:00
config refactor a lot of stuff 2023年07月31日 23:43:06 -07:00
dev upload builds from CI 2023年10月16日 09:21:53 -07:00
instances refactor a lot of stuff 2023年07月31日 23:43:06 -07:00
networks refactor a lot of stuff 2023年07月31日 23:43:06 -07:00
user update path generator 2023年10月10日 00:29:55 -07:00
.gitignore add dev subcommand to codegen a go api server 2023年08月30日 23:43:01 -07:00
.gitlab-ci.yml add dev subcommand to codegen a go api server 2023年08月30日 23:43:01 -07:00
COPYING add license 2023年07月31日 23:44:27 -07:00
go.mod update path generator 2023年10月10日 00:29:55 -07:00
go.sum bump iam dependency so it will build again 2023年10月05日 17:27:26 -07:00
Makefile initial stab at client code generation 2023年09月03日 18:34:19 -07:00
README.md update repo 2023年07月31日 23:48:33 -07:00

egcli

a command line utility for interacting with Entanglement

this is very work in progress, and is currently mostly used for API testing. All subcommands return only JSON.

Usage

You will need an API key, which will be in the format of a URI starting with rhyzome://. This can be generated via the Entanglement console under IAM -> API Keys. Create a file at ~/.config/entanglement/cli.yaml looking something like this:

auth_uri:rhyzome://...

Then verify it works with egcli whoami

eg is an Entanglement Garden cli client
Usage:
 eg [command]
Available Commands:
 completion Generate the autocompletion script for the specified shell
 dev perform debug or development-related tasks
 help Help about any command
 instances Manage virtual machines
 networks Manage virtual networks
 version print the egcli version. may eventually include server version
 whoami Print information about the auth token
Flags:
 -h, --help help for eg
Use "eg [command] --help" for more information about a command.

some of the shortcomings

  • Obviously the auth process sucks (see above). It would be nice to be able to do eg login
  • Most commands return JSON. All commands should have multiple output formats including a human readable one (which will likely be a table for most subcommands)