Cli2Gui Versions Save

Use this module to convert a cli program to a gui

2024.1

1 month ago

2024.1 - 2024/03/19

  • Add dearpygui support as default, (download the psg extra for pysimplegui support)
  • fix types for argparse..add_mutually_exclusive_group()

2024

3 months ago

2024 - 2024/01/20

  • Update deps
  • Code improvements

2023

8 months ago

2023 - 2023/08/31

  • Update deps

2022.3

1 year ago

2022.3 - 2022/12/31

  • Feature, support defaults https://github.com/FHPythonUtils/Cli2Gui/issues/11
  • Use full module namespace in-place of relative imports
  • Use Enum for widget types. eg. types.ItemType.Bool
  • Update internal types
  • Add more supported types for other parsers. e.g click
    • Argparse supports: Bool, Int, Choice, File, Text
    • Click supports: Bool, Int, Choice, Text
    • DocOpt supports: Bool, Text
    • GetOpt supports: Bool, Text
    • Optparse supports: Bool, Int, Choice, Text

2022.2.1

1 year ago

2022.2

1 year ago

2022.2 - 2022/09/02

  • Fix https://github.com/FHPythonUtils/Cli2Gui/issues/10, basic support for subparsers. parser.add_subparsers()

    arser = argparse.ArgumentParser(description="this is an example parser")
    ubparsers = parser.add_subparsers(help='types of A')
    arser.add_argument("-v",)
    
    _parser = subparsers.add_parser("A")
    _parser = subparsers.add_parser("B")
    
    _parser.add_argument("something", choices=['a1', 'a2'])
    
    rgs = parser.parse_args()