chibi-command 2.4.4__tar.gz → 2.5.0__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.
Files changed (72) hide show
  1. {chibi_command-2.4.4 → chibi_command-2.5.0}/HISTORY.rst +12 -0
  2. {chibi_command-2.4.4 → chibi_command-2.5.0}/PKG-INFO +13 -1
  3. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/__init__.py +1 -1
  4. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/archilinux/pacman.py +9 -0
  5. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/rsync.py +10 -0
  6. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/ssh.py +5 -1
  7. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/PKG-INFO +13 -1
  8. {chibi_command-2.4.4 → chibi_command-2.5.0}/setup.cfg +1 -1
  9. {chibi_command-2.4.4 → chibi_command-2.5.0}/setup.py +1 -1
  10. {chibi_command-2.4.4 → chibi_command-2.5.0}/AUTHORS.rst +0 -0
  11. {chibi_command-2.4.4 → chibi_command-2.5.0}/CONTRIBUTING.rst +0 -0
  12. {chibi_command-2.4.4 → chibi_command-2.5.0}/LICENSE +0 -0
  13. {chibi_command-2.4.4 → chibi_command-2.5.0}/MANIFEST.in +0 -0
  14. {chibi_command-2.4.4 → chibi_command-2.5.0}/README.rst +0 -0
  15. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/archilinux/__init__.py +0 -0
  16. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/archilinux/yay.py +0 -0
  17. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/centos/__init__.py +0 -0
  18. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/centos/dnf.py +0 -0
  19. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/centos/iptable.py +0 -0
  20. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/centos/yum.py +0 -0
  21. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/common.py +0 -0
  22. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/db.py +0 -0
  23. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/dd.py +0 -0
  24. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/__init__.py +0 -0
  25. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/dd.py +0 -0
  26. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/e2label.py +0 -0
  27. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/format.py +0 -0
  28. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/lsblk.py +0 -0
  29. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/disk/mount.py +0 -0
  30. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/echo.py +0 -0
  31. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/ffmpeg.py +0 -0
  32. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/file.py +0 -0
  33. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/image/__init__.py +0 -0
  34. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/image/convert.py +0 -0
  35. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/image/qr.py +0 -0
  36. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/lxc/__init__.py +0 -0
  37. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/lxc/delegate.py +0 -0
  38. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/lxc/lxc.py +0 -0
  39. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/mpd.py +0 -0
  40. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/__init__.py +0 -0
  41. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/ifconfig.py +0 -0
  42. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/interfaces.py +0 -0
  43. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/iwconfig.py +0 -0
  44. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/nmap.py +0 -0
  45. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/network/nmcli.py +0 -0
  46. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/nix/__init__.py +0 -0
  47. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/nix/locale.py +0 -0
  48. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/nix/systemd.py +0 -0
  49. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/nix/systemd_run.py +0 -0
  50. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/nix/user.py +0 -0
  51. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/qr.py +0 -0
  52. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/rabbitmq.py +0 -0
  53. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/rpm.py +0 -0
  54. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/sysctl.py +0 -0
  55. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/unittests/__init__.py +0 -0
  56. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/wmctrl.py +0 -0
  57. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command/xfce4.py +0 -0
  58. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/SOURCES.txt +0 -0
  59. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/dependency_links.txt +0 -0
  60. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/not-zip-safe +0 -0
  61. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/requires.txt +0 -0
  62. {chibi_command-2.4.4 → chibi_command-2.5.0}/chibi_command.egg-info/top_level.txt +0 -0
  63. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/Makefile +0 -0
  64. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/authors.rst +0 -0
  65. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/conf.py +0 -0
  66. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/contributing.rst +0 -0
  67. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/history.rst +0 -0
  68. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/index.rst +0 -0
  69. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/installation.rst +0 -0
  70. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/make.bat +0 -0
  71. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/readme.rst +0 -0
  72. {chibi_command-2.4.4 → chibi_command-2.5.0}/docs/usage.rst +0 -0
@@ -2,6 +2,18 @@
2
2
  History
3
3
  =======
4
4
 
5
+ ********************
6
+ 2.5.0 ( 2026-04-28 )
7
+ ********************
8
+
9
+ * se agrego a pacman el parametro no_confirm
10
+
11
+ ********************
12
+ 2.4.5 ( 2026-03-25 )
13
+ ********************
14
+
15
+ * se cambio para que el comando ssh use -t para una pseudo terminal
16
+
5
17
  ********************
6
18
  2.4.4 ( 2026-03-25 )
7
19
  ********************
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chibi_command
3
- Version: 2.4.4
3
+ Version: 2.5.0
4
4
  Summary: run terminal commands
5
5
  Home-page: https://github.com/dem4ply/chibi_command
6
6
  Author: Dem4ply
@@ -96,6 +96,18 @@ parchear popen
96
96
  History
97
97
  =======
98
98
 
99
+ ********************
100
+ 2.5.0 ( 2026-04-28 )
101
+ ********************
102
+
103
+ * se agrego a pacman el parametro no_confirm
104
+
105
+ ********************
106
+ 2.4.5 ( 2026-03-25 )
107
+ ********************
108
+
109
+ * se cambio para que el comando ssh use -t para una pseudo terminal
110
+
99
111
  ********************
100
112
  2.4.4 ( 2026-03-25 )
101
113
  ********************
@@ -7,7 +7,7 @@ import logging
7
7
 
8
8
  __author__ = """dem4ply"""
9
9
  __email__ = 'dem4ply@gmail.com'
10
- __version__ = '2.4.4'
10
+ __version__ = '2.5.0'
11
11
 
12
12
  logger = logging.getLogger( 'chibi.command' )
13
13
 
@@ -59,3 +59,12 @@ class Pacman( Command ):
59
59
  self.captive = True
60
60
  self.raise_on_fail = False
61
61
  return self
62
+
63
+ @Chibi_hybrid
64
+ def no_confirm( cls ):
65
+ return cls( '--noconfirm' )
66
+
67
+ @no_confirm.instancemethod
68
+ def no_confirm( self ):
69
+ self.add_args( '--noconfirm' )
70
+ return self
@@ -109,3 +109,13 @@ class Rsync( Command ):
109
109
  def ignore_existing( self ):
110
110
  self.options( '--ignore-existing' )
111
111
  return self
112
+
113
+ @Chibi_hybrid
114
+ def ssh( cls, ssh ):
115
+ instance = cls.add_args( e=ssh )
116
+ return instance
117
+
118
+ @ssh.instancemethod
119
+ def ssh( self, ssh ):
120
+ self.add_args( e=ssh )
121
+ return self
@@ -8,12 +8,16 @@ class Ssh( Command ):
8
8
  command = 'ssh'
9
9
  captive = False
10
10
 
11
- def __init__( self, user, host, identity_file=None, *args, **kw ):
11
+ def __init__(
12
+ self, user, host, pseudo_terminal=True,
13
+ identity_file=None, *args, **kw ):
12
14
  self._user = user
13
15
  self._host = host
14
16
  self._sudo_command = None
15
17
  super().__init__( self._build_connection(), *args, **kw )
16
18
  self.identity_file = identity_file
19
+ if pseudo_terminal:
20
+ self.insert_args( '-t' )
17
21
 
18
22
  @property
19
23
  def sudo_command( self ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chibi_command
3
- Version: 2.4.4
3
+ Version: 2.5.0
4
4
  Summary: run terminal commands
5
5
  Home-page: https://github.com/dem4ply/chibi_command
6
6
  Author: Dem4ply
@@ -96,6 +96,18 @@ parchear popen
96
96
  History
97
97
  =======
98
98
 
99
+ ********************
100
+ 2.5.0 ( 2026-04-28 )
101
+ ********************
102
+
103
+ * se agrego a pacman el parametro no_confirm
104
+
105
+ ********************
106
+ 2.4.5 ( 2026-03-25 )
107
+ ********************
108
+
109
+ * se cambio para que el comando ssh use -t para una pseudo terminal
110
+
99
111
  ********************
100
112
  2.4.4 ( 2026-03-25 )
101
113
  ********************
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 2.4.4
2
+ current_version = 2.5.0
3
3
  commit = True
4
4
  tag = True
5
5
 
@@ -43,6 +43,6 @@ setup(
43
43
  name='chibi_command',
44
44
  packages=find_packages(include=['chibi_command', 'chibi_command.*']),
45
45
  url='https://github.com/dem4ply/chibi_command',
46
- version='2.4.4',
46
+ version='2.5.0',
47
47
  zip_safe=False,
48
48
  )
File without changes
File without changes
File without changes
File without changes