kattis-cli 1.0.5__tar.gz → 1.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kattis-cli
3
- Version: 1.0.5
3
+ Version: 1.0.6
4
4
  Summary: A command-line tool for Kattis
5
5
  Home-page: https://github.com/rambasnet/kattis-cli
6
6
  Author: Ram Basnet
@@ -108,6 +108,7 @@ kattis setup
108
108
  ```bash
109
109
  kattis <command> [options]
110
110
  kattis --help
111
+ kattis tui # get into text user interface mode
111
112
  ```
112
113
 
113
114
  ### Commands
@@ -82,6 +82,7 @@ kattis setup
82
82
  ```bash
83
83
  kattis <command> [options]
84
84
  kattis --help
85
+ kattis tui # get into text user interface mode
85
86
  ```
86
87
 
87
88
  ### Commands
@@ -7,13 +7,14 @@ build.sh script copies the contents of this file to main.py.
7
7
  Change the __version__ to match in pyproject.toml
8
8
  Has to be higher than the pypi version.
9
9
  """
10
- __version__ = '1.0.5'
10
+ __version__ = '1.0.6'
11
11
 
12
12
  from math import inf
13
13
  from typing import Tuple
14
14
  from rich.console import Console
15
15
  import click
16
16
  import requests
17
+ from trogon import tui
17
18
  import kattis_cli.download as download
18
19
  import kattis_cli.ui as ui
19
20
  import kattis_cli.test_solution as test_solution
@@ -22,6 +23,7 @@ import kattis_cli.utils.languages as languages
22
23
  import kattis_cli.kattis_setup as kattis_setup
23
24
 
24
25
 
26
+ @tui()
25
27
  @click.group()
26
28
  @click.version_option(version=__version__, prog_name='kattis-cli')
27
29
  def main() -> None:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kattis-cli"
3
- version = "1.0.5"
3
+ version = "1.0.6"
4
4
  authors = ["Ram Basnet <rbasnet@coloradomesa.edu>"]
5
5
  description = "A command-line tool for Kattis"
6
6
  readme = "README.md"
File without changes
File without changes