Coverage for silkaj/about.py: 80%

5 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-10 17:03 +0000

1# Copyright 2016-2024 Maël Azimi <m.a@moul.re> 

2# 

3# Silkaj is free software: you can redistribute it and/or modify 

4# it under the terms of the GNU Affero General Public License as published by 

5# the Free Software Foundation, either version 3 of the License, or 

6# (at your option) any later version. 

7# 

8# Silkaj is distributed in the hope that it will be useful, 

9# but WITHOUT ANY WARRANTY; without even the implied warranty of 

10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

11# GNU Affero General Public License for more details. 

12# 

13# You should have received a copy of the GNU Affero General Public License 

14# along with Silkaj. If not, see <https://www.gnu.org/licenses/>. 

15 

16import rich_click as click 

17 

18from silkaj.constants import SILKAJ_VERSION 

19 

20 

21@click.command("about", help="Display program information") 

22def about() -> None: 

23 print( 

24 "\ 

25\n @@@@@@@@@@@@@\ 

26\n @@@ @ @@@\ 

27\n @@@ @@ @@@@@@ @@. Silkaj", 

28 SILKAJ_VERSION, 

29 "\ 

30\n @@ @@@ @@@@@@@@@@@ @@,\ 

31\n @@ @@@ &@@@@@@@@@@@@@ @@@ Powerfull and lightweight command line client\ 

32\n @@ @@@ @@@@@@@@@# @@@@ @@(\ 

33\n @@ @@@@ @@@@@@@@@ @@@ @@ Built in Python for Duniter`s currencies: \ 

34Ğ1 and Ğ1-Test\ 

35\n @@ @@@ @@@@@@@@ @ @@@ @@\ 

36\n @@ @@@ @@@@@@ @@@@ @@ @@ Authors: see AUTHORS.md file\ 

37\n @@ @@@@ @@@ @@@@@@@ @@ @@\ 

38\n @@ @@@@* @@@@@@@@@ @# @@ Website: https://silkaj.duniter.org\ 

39\n @@ @@@@@ @@@@@@@@@@ @ ,@@\ 

40\n @@ @@@@@ @@@@@@@@@@ @ ,@@ Repository: \ 

41https://git.duniter.org/clients/python/silkaj\ 

42\n @@@ @@@@@@@@@@@@ @ @@*\ 

43\n @@@ @@@@@@@@ @ @@@ License: GNU AGPLv3\ 

44\n @@@@ @@ @@@,\ 

45\n @@@@@@@@@@@@@@@\n", 

46 )