Skip to content
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

Add CLI #2

Open
aluttik opened this issue May 19, 2020 · 1 comment
Open

Add CLI #2

aluttik opened this issue May 19, 2020 · 1 comment

Comments

@aluttik
Copy link
Owner

aluttik commented May 19, 2020

There's currently some scripts in the cmd/ directory you can call like:

go run cmd/parse/main.go path/to/nginx.conf > nginx.conf.json
go run cmd/build/main.go path/to/nginx.conf.json > nginx.conf

But they're not nearly as useful as the python crossplane CLI.

@andrerfcsantos
Copy link
Contributor

Hey,

I would like to help in this issue.

My idea is to make this a single binary with parse and build being subcommands of that binary, as is the case of the python cli. This would also make way to add future commands (which I also can help).

I'm thinking of using cobra to make the cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants