nginxinc / crossplane

Quick and reliable way to convert NGINX configurations into JSON and back.
Apache License 2.0
717 stars 87 forks source link

Move individual scripts into one script with subcommands #4

Closed aluttik closed 7 years ago

aluttik commented 7 years ago

It'd be better to have one entry_point command with multiple subcommands like:

Usage:
  crossplane <command> [options]

Commands:
  parse       Build an JSON payload for an NGINX config.
  lex         Lexes tokens of an NGINX config file.
  minify      Condense an NGINX config file.
  format      Reformat an NGINX config file.
  help        Show help for commands.
aluttik commented 7 years ago

Fixed by #8.