knack

Knack - A Python command line interface framework

MIT License

Downloads
9.9M
Stars
348
Committers
46

Bot releases are visible (Hide)

knack - knack v0.12.0

Published by jiasli 3 months ago

  • Declare support for Python 3.12 (#279)
knack - knack v0.11.0 Latest Release

Published by jiasli about 1 year ago

  • Declare support for Python 3.11 and drop support for Python 3.7 (#275)
  • Stop converting argument's bool default value to DefaultInt (#273)
knack - knack v0.10.1

Published by jiasli almost 2 years ago

  • Support bytearray serialization (#268)
knack - knack v0.10.0

Published by jiasli about 2 years ago

  • Enable Virtual Terminal mode on legacy Windows terminal to support ANSI escape sequences (#265)
  • Drop Python 3.6 support (#259)
knack - knack v0.9.0

Published by jiasli almost 3 years ago

  • Support Python 3.10 (#250)
  • Only install colorama on Windows (#249)
knack - knack v0.8.2

Published by jiasli over 3 years ago

  • Always use UTF-8 for log file encoding (#247)
knack - knack v0.8.1

Published by jiasli over 3 years ago

  • Add error message for invalid argument value (#244)
knack - knack v0.8.0

Published by jiasli over 3 years ago

  • Make colors customizable (#242)
  • Init colorama only in Windows legacy terminal (#238)
  • Add raw_result to CommandResultItem (#235)
  • Refine code style to comply with Python 3 (#232, #233)
  • CI: Support Python 3.9 (#229)
  • Logging: CLILogging.configure returns as early as possible (#228)
knack - knack v0.8.0rc2

Published by evelyn-ys almost 4 years ago

  • Support multiple cli loggers by adding more logger names to knack.log.cli_logger_names list (#227)
knack - knack v0.8.0rc1

Published by jiasli almost 4 years ago

  • Make config item names case-insensitive (#220)
  • get_logger uses module_name directly and no longer adds cli prefix (#221)
  • CLILogging accepts a custom cli_logger_name (#221)
  • Support ppc64le arch in Travis CI (#222)
  • Allow customizing tag message (#223)
  • Add EVENT_CLI_SUCCESSFUL_EXECUTE (#224)
knack - knack v0.7.2

Published by jiasli almost 4 years ago

  • [Config] Support listing sections (#217)
knack - knack v0.7.1

Published by arrownj over 4 years ago

  • Rollback get_config_parser in config.py (#205)
knack - knack v0.7.0

Published by arrownj over 4 years ago

  • Add a default_value_source property in HelpParameter (#202)
  • Support removing option/section from config file (#201)
  • Support writing comment to config file (#201)
  • Import configparser directly instead of from six (#201)
  • Drop get_config_parser function from config.py (#201)
knack - knack v0.7.0rc4

Published by haroldrandom over 4 years ago

  • Change the timing to raise EVENT_CLI_POST_EXECUTE event (#199)
  • Make CLI.invoke catch SystemExit (#199)
knack - knack v0.7.0rc3

Published by jiasli over 4 years ago

  • Change experimental tag color to cyan
knack - knack v0.7.0rc1

Published by jiasli over 4 years ago

  • Allow disabling color (#171)
  • Support yaml and yamlc output (#173)
  • Drop support for python 2 and 3.5 (#174)
  • Support --only-show-errors to disable warnings (#179)
  • Add experimental tag (#180)
knack - knack v0.6.3

Published by tjprescott over 5 years ago

This release:

  • Fixes issue where argument marked is_preview=True would not always be handled correctly.
  • Fixes issue where ensuring a directory exists could cause a race condition.
knack - knack v0.6.2

Published by tjprescott over 5 years ago

  • Adds ability to declare that command groups, commands, and arguments are in a preview status and therefore might change or be removed. This is done by passing the kwarg is_preview=True.
  • Adds a generic StatusTag class to knack.util that allows you to create your own colorized tags like [Preview] and [Deprecated].
  • When an incorrect command name is entered, Knack will now attempt to suggest the closest alternative.
knack - knack v0.6.1

Published by limingu over 5 years ago

Always read from local for configured_default

knack - knack v0.6.0

Published by limingu over 5 years ago

Support local context chained config file