captive-cli 1.0.0
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.
- checksums.yaml +7 -0
- data/exe/captive +6 -0
- data/lib/captive/activity_trail.rb +38 -0
- data/lib/captive/cli/dependencies.rb +42 -0
- data/lib/captive/cli.rb +170 -0
- data/lib/captive/cluster_apps.rb +82 -0
- data/lib/captive/cluster_endpoint.rb +23 -0
- data/lib/captive/commands/apps_commands.rb +104 -0
- data/lib/captive/commands/apps_info.rb +70 -0
- data/lib/captive/commands/apps_rebuild.rb +52 -0
- data/lib/captive/commands/apps_restart.rb +24 -0
- data/lib/captive/commands/console.rb +32 -0
- data/lib/captive/commands/db_commands.rb +105 -0
- data/lib/captive/commands/db_dump.rb +33 -0
- data/lib/captive/commands/db_exec.rb +24 -0
- data/lib/captive/commands/db_psql.rb +20 -0
- data/lib/captive/commands/db_restore.rb +145 -0
- data/lib/captive/commands/db_target.rb +19 -0
- data/lib/captive/commands/env_kube_commands.rb +25 -0
- data/lib/captive/commands/env_list_kube.rb +16 -0
- data/lib/captive/commands/logs.rb +65 -0
- data/lib/captive/commands/one_off_session.rb +76 -0
- data/lib/captive/commands/run.rb +24 -0
- data/lib/captive/commands/user_login.rb +64 -0
- data/lib/captive/dashboard_client.rb +119 -0
- data/lib/captive/errors.rb +16 -0
- data/lib/captive/flux.rb +15 -0
- data/lib/captive/gh_cli.rb +89 -0
- data/lib/captive/github_device_flow.rb +39 -0
- data/lib/captive/http_client.rb +31 -0
- data/lib/captive/kubectl.rb +330 -0
- data/lib/captive/loader.rb +33 -0
- data/lib/captive/log_noise_filter.rb +17 -0
- data/lib/captive/null_log_filter.rb +8 -0
- data/lib/captive/one_off_spec.rb +144 -0
- data/lib/captive/platform_root.rb +25 -0
- data/lib/captive/poller.rb +35 -0
- data/lib/captive/presenter/ansi_stripper.rb +22 -0
- data/lib/captive/presenter/log_colorizer.rb +54 -0
- data/lib/captive/presenter/log_line.rb +40 -0
- data/lib/captive/session_id.rb +20 -0
- data/lib/captive/shell_completions.rb +61 -0
- data/lib/captive/terminal.rb +10 -0
- data/lib/captive/ui/banner.rb +37 -0
- data/lib/captive/ui/spinner.rb +23 -0
- data/lib/captive/update_checker.rb +65 -0
- data/lib/captive/version.rb +5 -0
- metadata +172 -0
metadata
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: captive-cli
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Captive Studio
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - '='
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 0.3.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - '='
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 0.3.0
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: captive-log-utils
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - '='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 0.3.4
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - '='
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 0.3.4
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: pastel
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - '='
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 0.8.0
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - '='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 0.8.0
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: thor
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - '='
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 1.5.0
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - '='
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 1.5.0
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: tty-prompt
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - '='
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: 0.23.1
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - '='
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: 0.23.1
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: tty-spinner
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - '='
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: 0.9.3
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - '='
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: 0.9.3
|
|
96
|
+
description: Logs, console, one-off, bases de données et état des apps déployées sur
|
|
97
|
+
la plateforme Captive.
|
|
98
|
+
email:
|
|
99
|
+
- dev@captive.fr
|
|
100
|
+
executables:
|
|
101
|
+
- captive
|
|
102
|
+
extensions: []
|
|
103
|
+
extra_rdoc_files: []
|
|
104
|
+
files:
|
|
105
|
+
- exe/captive
|
|
106
|
+
- lib/captive/activity_trail.rb
|
|
107
|
+
- lib/captive/cli.rb
|
|
108
|
+
- lib/captive/cli/dependencies.rb
|
|
109
|
+
- lib/captive/cluster_apps.rb
|
|
110
|
+
- lib/captive/cluster_endpoint.rb
|
|
111
|
+
- lib/captive/commands/apps_commands.rb
|
|
112
|
+
- lib/captive/commands/apps_info.rb
|
|
113
|
+
- lib/captive/commands/apps_rebuild.rb
|
|
114
|
+
- lib/captive/commands/apps_restart.rb
|
|
115
|
+
- lib/captive/commands/console.rb
|
|
116
|
+
- lib/captive/commands/db_commands.rb
|
|
117
|
+
- lib/captive/commands/db_dump.rb
|
|
118
|
+
- lib/captive/commands/db_exec.rb
|
|
119
|
+
- lib/captive/commands/db_psql.rb
|
|
120
|
+
- lib/captive/commands/db_restore.rb
|
|
121
|
+
- lib/captive/commands/db_target.rb
|
|
122
|
+
- lib/captive/commands/env_kube_commands.rb
|
|
123
|
+
- lib/captive/commands/env_list_kube.rb
|
|
124
|
+
- lib/captive/commands/logs.rb
|
|
125
|
+
- lib/captive/commands/one_off_session.rb
|
|
126
|
+
- lib/captive/commands/run.rb
|
|
127
|
+
- lib/captive/commands/user_login.rb
|
|
128
|
+
- lib/captive/dashboard_client.rb
|
|
129
|
+
- lib/captive/errors.rb
|
|
130
|
+
- lib/captive/flux.rb
|
|
131
|
+
- lib/captive/gh_cli.rb
|
|
132
|
+
- lib/captive/github_device_flow.rb
|
|
133
|
+
- lib/captive/http_client.rb
|
|
134
|
+
- lib/captive/kubectl.rb
|
|
135
|
+
- lib/captive/loader.rb
|
|
136
|
+
- lib/captive/log_noise_filter.rb
|
|
137
|
+
- lib/captive/null_log_filter.rb
|
|
138
|
+
- lib/captive/one_off_spec.rb
|
|
139
|
+
- lib/captive/platform_root.rb
|
|
140
|
+
- lib/captive/poller.rb
|
|
141
|
+
- lib/captive/presenter/ansi_stripper.rb
|
|
142
|
+
- lib/captive/presenter/log_colorizer.rb
|
|
143
|
+
- lib/captive/presenter/log_line.rb
|
|
144
|
+
- lib/captive/session_id.rb
|
|
145
|
+
- lib/captive/shell_completions.rb
|
|
146
|
+
- lib/captive/terminal.rb
|
|
147
|
+
- lib/captive/ui/banner.rb
|
|
148
|
+
- lib/captive/ui/spinner.rb
|
|
149
|
+
- lib/captive/update_checker.rb
|
|
150
|
+
- lib/captive/version.rb
|
|
151
|
+
homepage: https://github.com/captive-studio/captive-platform
|
|
152
|
+
licenses:
|
|
153
|
+
- MIT
|
|
154
|
+
metadata: {}
|
|
155
|
+
rdoc_options: []
|
|
156
|
+
require_paths:
|
|
157
|
+
- lib
|
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
|
+
requirements:
|
|
160
|
+
- - ">="
|
|
161
|
+
- !ruby/object:Gem::Version
|
|
162
|
+
version: '4.0'
|
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
|
+
requirements:
|
|
165
|
+
- - ">="
|
|
166
|
+
- !ruby/object:Gem::Version
|
|
167
|
+
version: '0'
|
|
168
|
+
requirements: []
|
|
169
|
+
rubygems_version: 4.0.20
|
|
170
|
+
specification_version: 4
|
|
171
|
+
summary: CLI développeur de la plateforme Captive
|
|
172
|
+
test_files: []
|