pystorm / streamparse

Run Python in Apache Storm topologies. Pythonic API, CLI tooling, and a topology DSL.
http://streamparse.readthedocs.io/
Apache License 2.0
1.5k stars 218 forks source link

Add CLI options #409

Closed codywilbourn closed 6 years ago

codywilbourn commented 6 years ago

Adds a --config flag to all relevant subcommands. (-c short was taken by --components on one of the subcommands). This addresses #343

Adds --option resolution to update_virtualenv, since it took an options parameter but nothing was provided to it.

codywilbourn commented 6 years ago

This was tested in terms of locally attempting the commands to pass in a config2.json instead of the traditionally named config.json and seeing the updated nimbus hostname, etc., but I didn't test submit to an actual storm cluster to verify that all works because I didn't have a local storm to test with.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.3%) to 48.314% when pulling 0a60495fc2baef1c5115cd34e2c062c363dfedc8 on codywilbourn:cli-improvements into c9777cefef5a0a1cb373536b74d2b6e5a444cda4 on Parsely:master.