Add several flags to task_create CLI (#4119)
* Add serveral flags to CLI & generalize CLI code
definition.py:
- Add use_zip_chunks, start_frame, stop_frame, and chunk_size
as CLI flags
- Rename --bug to --bug_tracker to be consistent with website
and API
- No longer include optional kwargs in all requests
core.py:
- Add a single loop to handle all kwargs for extensibility
- Lump optional task_create args into kwargs for brevity
* Add --bug as alias for --bug_tracker
- Add back old --bug flag for backwards compatability
* Update licence header
Update licence header for core.py
* Remove redundant parameter assignment
- Remove hardcoded `image_quality` default value, as this is already
handled by the argparse default value.
* CHANGELOG entry for new CLI flags
* CLI linting fixes
- Several linting fixes for CLI
* Fix CLI test
- Re-add default image_quality in case task_create is called manually
* Resolve changelog merge conflict
* Update CHANGELOG.md
Co-authored-by: NAndrey Zhavoronkov <andrey.zhavoronkov@intel.com>
Showing
想要评论请 注册 或 登录