uffizzi-cli 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uffizzi/auth_helper.rb +5 -0
  3. data/lib/uffizzi/cli/config.rb +1 -1
  4. data/lib/uffizzi/cli/login.rb +76 -2
  5. data/lib/uffizzi/cli/logout.rb +1 -1
  6. data/lib/uffizzi/cli/preview.rb +4 -1
  7. data/lib/uffizzi/clients/api/api_client.rb +1 -1
  8. data/lib/uffizzi/config_file.rb +8 -18
  9. data/lib/uffizzi/promt.rb +21 -0
  10. data/lib/uffizzi/version.rb +1 -1
  11. data/lib/uffizzi.rb +5 -0
  12. data/man/uffizzi +2 -2
  13. data/man/uffizzi-config +1 -1
  14. data/man/uffizzi-config.ronn +1 -1
  15. data/man/uffizzi-connect +2 -2
  16. data/man/uffizzi-connect-acr +2 -2
  17. data/man/uffizzi-connect-acr.ronn +1 -1
  18. data/man/uffizzi-connect-docker-hub +2 -2
  19. data/man/uffizzi-connect-docker-hub.ronn +1 -1
  20. data/man/uffizzi-connect-ecr +2 -2
  21. data/man/uffizzi-connect-ecr.ronn +1 -1
  22. data/man/uffizzi-connect-gcr +2 -2
  23. data/man/uffizzi-connect-gcr.ronn +1 -1
  24. data/man/uffizzi-connect-ghcr +2 -2
  25. data/man/uffizzi-connect-ghcr.ronn +1 -1
  26. data/man/uffizzi-connect.ronn +1 -1
  27. data/man/uffizzi-disconnect +2 -2
  28. data/man/uffizzi-disconnect.ronn +1 -1
  29. data/man/uffizzi-login +1 -1
  30. data/man/uffizzi-login.ronn +1 -1
  31. data/man/uffizzi-logout +1 -1
  32. data/man/uffizzi-logout.ronn +1 -1
  33. data/man/uffizzi-preview +2 -2
  34. data/man/uffizzi-preview-create +2 -2
  35. data/man/uffizzi-preview-create.ronn +1 -1
  36. data/man/uffizzi-preview-delete +2 -2
  37. data/man/uffizzi-preview-delete.ronn +1 -1
  38. data/man/uffizzi-preview-describe +2 -2
  39. data/man/uffizzi-preview-describe.ronn +1 -1
  40. data/man/uffizzi-preview-events +2 -2
  41. data/man/uffizzi-preview-events.ronn +1 -1
  42. data/man/uffizzi-preview-list +2 -2
  43. data/man/uffizzi-preview-list.ronn +1 -1
  44. data/man/uffizzi-preview-service-list +2 -2
  45. data/man/uffizzi-preview-service-list.ronn +1 -1
  46. data/man/uffizzi-preview-service-logs +2 -2
  47. data/man/uffizzi-preview-service-logs.ronn +1 -1
  48. data/man/uffizzi-preview-update +20 -12
  49. data/man/uffizzi-preview-update.ronn +6 -6
  50. data/man/uffizzi-preview.ronn +1 -1
  51. data/man/uffizzi-preview_service_logs +2 -2
  52. data/man/uffizzi-preview_service_logs.ronn +1 -1
  53. data/man/uffizzi-project +2 -2
  54. data/man/uffizzi-project-compose +2 -2
  55. data/man/uffizzi-project-compose-describe +2 -2
  56. data/man/uffizzi-project-compose-describe.ronn +1 -1
  57. data/man/uffizzi-project-compose-set +2 -2
  58. data/man/uffizzi-project-compose-set.ronn +1 -1
  59. data/man/uffizzi-project-compose-unset +2 -2
  60. data/man/uffizzi-project-compose-unset.ronn +1 -1
  61. data/man/uffizzi-project-compose.ronn +1 -1
  62. data/man/uffizzi-project-secret +2 -2
  63. data/man/uffizzi-project-secret-create +2 -2
  64. data/man/uffizzi-project-secret-create.ronn +1 -1
  65. data/man/uffizzi-project-secret-delete +2 -2
  66. data/man/uffizzi-project-secret-delete.ronn +1 -1
  67. data/man/uffizzi-project-secret-list +2 -2
  68. data/man/uffizzi-project-secret-list.ronn +1 -1
  69. data/man/uffizzi-project-secret.ronn +1 -1
  70. data/man/uffizzi-project-set-default +2 -2
  71. data/man/uffizzi-project-set-default.ronn +1 -1
  72. data/man/uffizzi-project.ronn +1 -1
  73. data/man/uffizzi.html +1 -1
  74. data/man/uffizzi.ronn +1 -1
  75. metadata +17 -22
  76. data/man/uffizzi-config.html +0 -144
  77. data/man/uffizzi-login.html +0 -113
  78. data/man/uffizzi-logout.html +0 -102
  79. data/man/uffizzi-preview-create.html +0 -128
  80. data/man/uffizzi-preview-delete.html +0 -115
  81. data/man/uffizzi-preview-describe.html +0 -116
  82. data/man/uffizzi-preview-events.html +0 -110
  83. data/man/uffizzi-preview-list.html +0 -110
  84. data/man/uffizzi-preview.html +0 -120
  85. data/man/uffizzi-preview_service_logs.html +0 -142
  86. data/man/uffizzi-project-compose-describe.html +0 -118
  87. data/man/uffizzi-project-compose-set.html +0 -149
  88. data/man/uffizzi-project-compose-unset.html +0 -116
  89. data/man/uffizzi-project-compose.html +0 -123
  90. data/man/uffizzi-project-secret-create.html +0 -110
  91. data/man/uffizzi-project-secret-delete.html +0 -110
  92. data/man/uffizzi-project-secret-list.html +0 -110
  93. data/man/uffizzi-project-secret.html +0 -119
  94. data/man/uffizzi-project-set-default.html +0 -111
  95. data/man/uffizzi-project.html +0 -128
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 135c59012b429afe86c2ba348e8d2e5e73562b7a10531d8e2ed329c7eac09929
4
- data.tar.gz: 8865727d98b597fc622324e7b9d3afdf410bedb00e0b2203448e4023e8896da3
3
+ metadata.gz: e1bc2ece2185acfc991e128222d85edd8f23c3dba70797090a4e0c26cbad3104
4
+ data.tar.gz: f0c2497de38303117159dfc170b9a9c447a61f2ee12b6f9aecef09e1565a1212
5
5
  SHA512:
6
- metadata.gz: 6cd3dd4875c77bf331f4ab5934f5f6f347288b2c9d0a144e79a943bfca8b54bee4a7ccfb1ddab2e782e83555e085f685547cffedeb03df7221bfc9505cbbe01d
7
- data.tar.gz: e48f80757a18e246145b4d08dd4d33b8736db90228d9206026f61dc00a46bdf0c0899fb35d7301f0fff09ec391f7f6611f5a6cf7feae42e28a1baafff81c7b85
6
+ metadata.gz: 7b50904992dbd671ad3b69d7f056f7d18cd9a7d9912f4a31ffa8ab9b55a687265b501b5f63d35205d6dced804a67ad5389ebdb9020523c79bf163a0932a6662b
7
+ data.tar.gz: 3345ab6d4dbb824c0811771247e76a46710efe77e9b2939903366e7c24bb13ade2e5f00458bc9e67db07610f2d4c5aebfb6d0a20371282792bc30b7b5379f7b1
@@ -9,6 +9,11 @@ module Uffizzi
9
9
  ConfigFile.option_has_value?(:cookie) &&
10
10
  ConfigFile.option_has_value?(:server)
11
11
  end
12
+
13
+ def sign_out
14
+ Uffizzi::ConfigFile.unset_option(:cookie)
15
+ Uffizzi::ConfigFile.unset_option(:account_id)
16
+ end
12
17
  end
13
18
  end
14
19
  end
@@ -58,7 +58,7 @@ module Uffizzi
58
58
  \nUffizzi API service and manage previews.\n")
59
59
  server = Uffizzi.ui.ask('Server: ', default: Uffizzi.configuration.default_server.to_s)
60
60
  username = Uffizzi.ui.ask('Username: ')
61
- project = Uffizzi.ui.ask('Project: ')
61
+ project = Uffizzi.ui.ask('Project: ', default: 'default')
62
62
  ConfigFile.delete
63
63
  ConfigFile.write_option(:server, server)
64
64
  ConfigFile.write_option(:username, username)
@@ -2,7 +2,9 @@
2
2
 
3
3
  require 'uffizzi'
4
4
  require 'uffizzi/response_helper'
5
+ require 'uffizzi/helpers/project_helper'
5
6
  require 'uffizzi/clients/api/api_client'
7
+ require 'tty-prompt'
6
8
 
7
9
  module Uffizzi
8
10
  class Cli::Login
@@ -15,6 +17,7 @@ module Uffizzi
15
17
  def run
16
18
  Uffizzi.ui.say('Login to Uffizzi to view and manage your previews.')
17
19
  server = set_server
20
+
18
21
  username = set_username
19
22
  password = set_password
20
23
  params = prepare_request_params(username, password)
@@ -30,12 +33,12 @@ module Uffizzi
30
33
  private
31
34
 
32
35
  def set_server
33
- config_server = ConfigFile.exists? && ConfigFile.option_has_value?(:server) ? ConfigFile.read_option(:server) : nil
36
+ config_server = ConfigFile.exists? ? read_option_from_config(:server) : nil
34
37
  @options[:server] || config_server || Uffizzi.ui.ask('Server: ')
35
38
  end
36
39
 
37
40
  def set_username
38
- config_username = ConfigFile.exists? && ConfigFile.option_has_value?(:username) ? ConfigFile.read_option(:username) : nil
41
+ config_username = ConfigFile.exists? ? read_option_from_config(:username) : nil
39
42
  @options[:username] || config_username || Uffizzi.ui.ask('Username: ')
40
43
  end
41
44
 
@@ -43,6 +46,10 @@ module Uffizzi
43
46
  ENV['UFFIZZI_PASSWORD'] || Uffizzi.ui.ask('Password: ', echo: false)
44
47
  end
45
48
 
49
+ def read_option_from_config(option)
50
+ ConfigFile.option_has_value?(option) ? ConfigFile.read_option(option) : nil
51
+ end
52
+
46
53
  def prepare_request_params(username, password)
47
54
  {
48
55
  user: {
@@ -60,10 +67,77 @@ module Uffizzi
60
67
  ConfigFile.write_option(:username, username)
61
68
  ConfigFile.write_option(:cookie, response[:headers])
62
69
  ConfigFile.write_option(:account_id, account[:id])
70
+
71
+ default_project = ConfigFile.read_option(:project)
72
+ return unless default_project
73
+
74
+ check_default_project(default_project, server)
63
75
  end
64
76
 
65
77
  def account_valid?(account)
66
78
  account[:state] == 'active'
67
79
  end
80
+
81
+ def check_default_project(default_project, server)
82
+ check_project_response = fetch_projects(server)
83
+ return ResponseHelper.handle_failed_response(check_project_response) unless ResponseHelper.ok?(check_project_response)
84
+
85
+ projects = check_project_response[:body][:projects]
86
+ slugs = projects.map { |project| project[:slug] }
87
+ return if slugs.include?(default_project)
88
+
89
+ question = "Project '#{default_project}' does not exist. Select one of the following projects or create a new project:"
90
+ choices = projects.map do |project|
91
+ { name: project[:name], value: project[:slug] }
92
+ end
93
+ all_choices = choices + [{ name: 'Create a new project', value: nil }]
94
+ answer = Uffizzi.prompt.select(question, all_choices)
95
+ return ConfigFile.write_option(:project, answer) if answer
96
+
97
+ create_new_project(server)
98
+ end
99
+
100
+ def create_new_project(server)
101
+ project_name = Uffizzi.prompt.ask('Project name: ', required: true)
102
+ generated_slug = Uffizzi::ProjectHelper.generate_slug(project_name)
103
+ project_slug = Uffizzi.prompt.ask('Project slug: ', default: generated_slug)
104
+ raise Uffizzi::Error.new('Slug must not content spaces or special characters') unless project_slug.match?(/^[a-zA-Z0-9\-_]+\Z/i)
105
+
106
+ project_description = Uffizzi.prompt.ask('Project desciption: ')
107
+
108
+ params = {
109
+ project: {
110
+ name: project_name.strip,
111
+ slug: project_slug,
112
+ description: project_description,
113
+ },
114
+ }
115
+
116
+ response = create_project(server, params)
117
+
118
+ if ResponseHelper.created?(response)
119
+ handle_create_project_succeess(response)
120
+ else
121
+ handle_create_project_failed(response)
122
+ end
123
+ end
124
+
125
+ def handle_create_project_failed(response)
126
+ name_error = response[:body][:errors][:name].first
127
+ name_already_exists = name_error && name_error.first == 'Name already exists'
128
+ message = "Project with name #{project_name} already exists. " \
129
+ 'Please run $ uffizzi config to set it as a default project'
130
+ raise Uffizzi::Error.new(message) if name_already_exists
131
+
132
+ ResponseHelper.handle_failed_response(response)
133
+ end
134
+
135
+ def handle_create_project_succeess(response)
136
+ project = response[:body][:project]
137
+
138
+ ConfigFile.write_option(:project, project[:slug])
139
+
140
+ Uffizzi.ui.say("Project #{project[:name]} was successfully created")
141
+ end
68
142
  end
69
143
  end
@@ -17,7 +17,7 @@ module Uffizzi
17
17
  server = ConfigFile.read_option(:server)
18
18
  destroy_session(server)
19
19
 
20
- ConfigFile.delete
20
+ AuthHelper.sign_out
21
21
  Uffizzi.ui.say('You have been successfully logged out')
22
22
  end
23
23
  end
@@ -119,6 +119,9 @@ module Uffizzi
119
119
  success = PreviewService.run_containers_deploy(project_slug, deployment)
120
120
 
121
121
  display_deployment_data(deployment, success)
122
+ rescue SystemExit, Interrupt, SocketError
123
+ deployment_id = response[:body][:deployment][:id]
124
+ handle_preview_interruption(deployment_id, ConfigFile.read_option(:server), project_slug)
122
125
  end
123
126
 
124
127
  def handle_events_command(deployment_name, project_slug)
@@ -204,7 +207,7 @@ module Uffizzi
204
207
 
205
208
  def prepare_params(file_path)
206
209
  begin
207
- compose_file_data = File.read(file_path)
210
+ compose_file_data = EnvVariablesService.substitute_env_variables(File.read(file_path))
208
211
  rescue Errno::ENOENT => e
209
212
  raise Uffizzi::Error.new(e.message)
210
213
  end
@@ -235,7 +235,7 @@ module ApiClient
235
235
 
236
236
  cookie_content = cookies.first
237
237
  cookie = cookie_content.split(';').first
238
- Uffizzi::ConfigFile.rewrite_cookie(cookie) if Uffizzi::ConfigFile.exists?
238
+ Uffizzi::ConfigFile.rewrite_cookie(cookie) if Uffizzi::ConfigFile.exists? && Uffizzi::ConfigFile.option_has_value?(:cookie)
239
239
  http_client.auth_cookie = cookie
240
240
 
241
241
  cookie
@@ -5,20 +5,15 @@ require 'fileutils'
5
5
 
6
6
  module Uffizzi
7
7
  class ConfigFile
8
- CONFIG_PATH = "#{Dir.home}/.config/uffizzi/config_default.json"
8
+ CONFIG_PATH = "#{Dir.home}/.config/uffizzi/config_default"
9
9
 
10
10
  class << self
11
11
  def config_path
12
12
  CONFIG_PATH
13
13
  end
14
14
 
15
- def create(account_id, cookie, server)
16
- data = prepare_config_data(account_id, cookie, server)
17
- data.each_pair { |key, value| write_option(key, value) }
18
- end
19
-
20
15
  def delete
21
- File.delete(config_path) if exists?
16
+ File.truncate(config_path, 0) if exists?
22
17
  end
23
18
 
24
19
  def exists?
@@ -73,8 +68,6 @@ module Uffizzi
73
68
  data
74
69
  end
75
70
 
76
- private
77
-
78
71
  def option_exists?(option)
79
72
  data = read
80
73
  return false unless data.is_a?(Hash)
@@ -82,6 +75,8 @@ module Uffizzi
82
75
  data.key?(option)
83
76
  end
84
77
 
78
+ private
79
+
85
80
  def read
86
81
  data = File.read(config_path)
87
82
  options = data.split("\n")
@@ -90,7 +85,10 @@ module Uffizzi
90
85
  acc.merge({ key.strip.to_sym => value.strip })
91
86
  end
92
87
  rescue Errno::ENOENT => e
93
- Uffizzi.ui.say(e)
88
+ file_path = e.message.split(' ').last
89
+ message = "Configuration file not found: #{file_path}\n" \
90
+ 'To configure the uffizzi CLI interactively, run $ uffizzi config'
91
+ raise Uffizzi::Error.new(message)
94
92
  end
95
93
 
96
94
  def write(data)
@@ -107,14 +105,6 @@ module Uffizzi
107
105
  end
108
106
  end
109
107
 
110
- def prepare_config_data(account_id, cookie, server)
111
- {
112
- account_id: account_id,
113
- server: server,
114
- cookie: cookie,
115
- }
116
- end
117
-
118
108
  def create_file
119
109
  dir = File.dirname(config_path)
120
110
 
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tty-prompt'
4
+
5
+ module Uffizzi
6
+ module UI
7
+ class Prompt
8
+ def initialize
9
+ @prompt = TTY::Prompt.new
10
+ end
11
+
12
+ def select(question, choices)
13
+ @prompt.select(question, choices)
14
+ end
15
+
16
+ def ask(message, **args)
17
+ @prompt.ask(message, **args)
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uffizzi
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
  end
data/lib/uffizzi.rb CHANGED
@@ -6,6 +6,7 @@ require 'tty-spinner'
6
6
  require 'thor'
7
7
  require 'uffizzi/error'
8
8
  require 'uffizzi/shell'
9
+ require 'uffizzi/promt'
9
10
  require 'uffizzi/version'
10
11
  require 'uffizzi/clients/api/api_client'
11
12
  require 'uffizzi/clients/api/api_routes'
@@ -18,6 +19,10 @@ module Uffizzi
18
19
  @ui ||= Uffizzi::UI::Shell.new
19
20
  end
20
21
 
22
+ def prompt
23
+ @prompt ||= Uffizzi::UI::Prompt.new
24
+ end
25
+
21
26
  def root
22
27
  @root ||= Pathname.new(File.expand_path('..', __dir__))
23
28
  end
data/man/uffizzi CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI" "" "April 2022" ""
3
+ .TH "UFFIZZI" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\fR \- manage Uffizzi resources
6
6
  .SH "SYNOPSIS"
@@ -13,7 +13,7 @@ The uffizzi CLI manages authentication, configuration, and
13
13
  interaction with Uffizzi APIs\.
14
14
 
15
15
  For more information on the uffizzi CLI, see:
16
- https://docs\.uffizzi\.com/cli
16
+ https://github\.com/UffizziCloud/uffizzi_cli
17
17
  .fi
18
18
  .SH "GROUP"
19
19
  .nf
data/man/uffizzi-config CHANGED
@@ -14,7 +14,7 @@ If COMMAND is not specified, uffizzi config launches an interactive set up
14
14
  guide\.
15
15
 
16
16
  For more information on configuration options, see:
17
- https://docs\.uffizzi\.com/references/cli
17
+ https://github\.com/UffizziCloud/uffizzi_cli
18
18
  .fi
19
19
  .SH "UFFIZZI WIDE FLAGS"
20
20
  .nf
@@ -10,7 +10,7 @@ uffizzi config - configure the Uffizzi command-line interface (CLI)
10
10
  guide.
11
11
 
12
12
  For more information on configuration options, see:
13
- https://docs.uffizzi.com/references/cli
13
+ https://github.com/UffizziCloud/uffizzi_cli
14
14
 
15
15
  ## UFFIZZI WIDE FLAGS
16
16
  These flags are available to all commands: --project. Run $ uffizzi
data/man/uffizzi-connect CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\fR \- grant a Uffizzi user account access to external services
6
6
  .SH "SYNOPSIS"
@@ -12,7 +12,7 @@ uffizzi connect COMMAND
12
12
  Grants a Uffizzi user account access to external services
13
13
 
14
14
  For more information on connecting to external services, see:
15
- https://docs\.uffizzi\.com/cli
15
+ https://github\.com/UffizziCloud/uffizzi_cli
16
16
  .fi
17
17
  .SH "COMMANDS"
18
18
  .nf
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT\-ACR" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT\-ACR" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\-acr\fR \- grant a Uffizzi user account access to a private Azure Container Registry (ACR)
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The given credentials are invalid\.
19
19
 
20
20
  For more information on connecting to external services, see:
21
- https://docs\.uffizzi\.com/cli
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
 
23
23
  For detailed instructions on configuring webhooks to send push
24
24
  notifications to Uffizzi, see
@@ -14,7 +14,7 @@ uffizzi-connect-acr - grant a Uffizzi user account access to a private Azure Con
14
14
  - The given credentials are invalid.
15
15
 
16
16
  For more information on connecting to external services, see:
17
- https://docs.uffizzi.com/cli
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  For detailed instructions on configuring webhooks to send push
20
20
  notifications to Uffizzi, see
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT\-DOCKER\-HUB" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT\-DOCKER\-HUB" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\-docker\-hub\fR \- grant a Uffizzi user account access to a private Docker Hub registry\.
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The given credentials are invalid\.
19
19
 
20
20
  For more information on connecting to external services, see:
21
- https://docs\.uffizzi\.com/cli
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
 
23
23
  For detailed instructions on configuring webhooks to send push
24
24
  notifications to Uffizzi, see
@@ -14,7 +14,7 @@ uffizzi-connect-docker-hub - grant a Uffizzi user account access to a private Do
14
14
  - The given credentials are invalid.
15
15
 
16
16
  For more information on connecting to external services, see:
17
- https://docs.uffizzi.com/cli
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  For detailed instructions on configuring webhooks to send push
20
20
  notifications to Uffizzi, see
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT\-ECR" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT\-ECR" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private Amazon Elastic Container Registry (ECR)
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The given credentials are invalid\.
19
19
 
20
20
  For more information on connecting to external services, see:
21
- https://docs\.uffizzi\.com/cli
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
 
23
23
  For detailed instructions on configuring webhooks to send push
24
24
  notifications to Uffizzi, see
@@ -14,7 +14,7 @@ uffizzi-connect-ecr - grant a Uffizzi user account access to a private Amazon El
14
14
  - The given credentials are invalid.
15
15
 
16
16
  For more information on connecting to external services, see:
17
- https://docs.uffizzi.com/cli
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  For detailed instructions on configuring webhooks to send push
20
20
  notifications to Uffizzi, see
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT\-GCR" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT\-GCR" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\-gcr\fR \- grant a Uffizzi user account access to a private Google Container Registry (GCR)
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The given credentials are invalid\.
19
19
 
20
20
  For more information on connecting to external services, see:
21
- https://docs\.uffizzi\.com/cli
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
 
23
23
  For detailed instructions on configuring webhooks to send push
24
24
  notifications to Uffizzi, see
@@ -14,7 +14,7 @@ uffizzi-connect-gcr - grant a Uffizzi user account access to a private Google Co
14
14
  - The given credentials are invalid.
15
15
 
16
16
  For more information on connecting to external services, see:
17
- https://docs.uffizzi.com/cli
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  For detailed instructions on configuring webhooks to send push
20
20
  notifications to Uffizzi, see
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-CONNECT\-ECR" "" "April 2022" ""
3
+ .TH "UFFIZZI\-CONNECT\-ECR" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private GitHub Container Registry (GHCR)
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The given credentials are invalid\.
19
19
 
20
20
  For more information on connecting to external services, see:
21
- https://docs\.uffizzi\.com/cli
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
 
23
23
  For detailed instructions on configuring webhooks to send push
24
24
  notifications to Uffizzi, see
@@ -14,7 +14,7 @@ uffizzi-connect-ecr - grant a Uffizzi user account access to a private GitHub Co
14
14
  - The given credentials are invalid.
15
15
 
16
16
  For more information on connecting to external services, see:
17
- https://docs.uffizzi.com/cli
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  For detailed instructions on configuring webhooks to send push
20
20
  notifications to Uffizzi, see
@@ -8,7 +8,7 @@ uffizzi-connect - grant a Uffizzi user account access to external services
8
8
  Grants a Uffizzi user account access to external services
9
9
 
10
10
  For more information on connecting to external services, see:
11
- https://docs.uffizzi.com/cli
11
+ https://github.com/UffizziCloud/uffizzi_cli
12
12
 
13
13
  ## COMMANDS
14
14
  COMMAND is one of the following:
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-DISCONNECT" "" "April 2022" ""
3
+ .TH "UFFIZZI\-DISCONNECT" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-disconnect\fR \- revoke a Uffizzi user account access to external services
6
6
  .SH "SYNOPSIS"
@@ -12,7 +12,7 @@ uffizzi disconnect COMMAND
12
12
  Revokes a Uffizzi user account access to external services
13
13
 
14
14
  For more information on connecting to external services, see:
15
- https://docs\.uffizzi\.com/cli
15
+ https://github\.com/UffizziCloud/uffizzi_cli
16
16
  .fi
17
17
  .SH "COMMANDS"
18
18
  .nf
@@ -8,7 +8,7 @@ uffizzi-disconnect - revoke a Uffizzi user account access to external services
8
8
  Revokes a Uffizzi user account access to external services
9
9
 
10
10
  For more information on connecting to external services, see:
11
- https://docs.uffizzi.com/cli
11
+ https://github.com/UffizziCloud/uffizzi_cli
12
12
 
13
13
  ## COMMANDS
14
14
  COMMAND is one of the following:
data/man/uffizzi-login CHANGED
@@ -12,7 +12,7 @@ uffizzi login [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
12
12
  The uffizzi login command lets you authenticate with Uffizzi\.
13
13
 
14
14
  For more information on authentication and credential types, see:
15
- https://docs\.uffizzi\.com/references/cli
15
+ https://github\.com/UffizziCloud/uffizzi_cli
16
16
  .fi
17
17
  .SH "UFFIZZI WIDE FLAGS"
18
18
  .nf
@@ -8,7 +8,7 @@
8
8
  The uffizzi login command lets you authenticate with Uffizzi.
9
9
 
10
10
  For more information on authentication and credential types, see:
11
- https://docs.uffizzi.com/references/cli
11
+ https://github.com/UffizziCloud/uffizzi_cli
12
12
 
13
13
  ## UFFIZZI WIDE FLAGS
14
14
  These flags are available to all commands: --project. Run $ uffizzi
data/man/uffizzi-logout CHANGED
@@ -10,7 +10,7 @@
10
10
  The uffizzi logout command logs out of a Uffizzi user account\.
11
11
 
12
12
  For more information on logout, see:
13
- https://docs\.uffizzi\.com/references/cli
13
+ https://github\.com/UffizziCloud/uffizzi_cli
14
14
  .fi
15
15
  .SH "UFFIZZI WIDE FLAGS"
16
16
  .nf
@@ -9,7 +9,7 @@ uffizzi-logout - log out of a Uffizzi user account
9
9
  The uffizzi logout command logs out of a Uffizzi user account.
10
10
 
11
11
  For more information on logout, see:
12
- https://docs.uffizzi.com/references/cli
12
+ https://github.com/UffizziCloud/uffizzi_cli
13
13
 
14
14
  ## UFFIZZI WIDE FLAGS
15
15
  These flags are available to all commands: --project. Run $ uffizzi
data/man/uffizzi-preview CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-PREVIEW" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\fR \- manage previews
6
6
  .SH "SYNOPSIS"
@@ -12,7 +12,7 @@ uffizzi preview COMMAND [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
12
12
  Manage Uffizzi previews
13
13
 
14
14
  For more information on Uffizzi previews, see:
15
- https://docs\.uffizzi\.com/cli/preview
15
+ https://github\.com/UffizziCloud/uffizzi_cli
16
16
  .fi
17
17
  .SH "UFFIZZI WIDE FLAGS"
18
18
  .nf
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-PREVIEW\-CREATE" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-CREATE" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-create\fR \- create a preview
6
6
  .SH "SYNOPSIS"
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
18
18
  \- The alternate compose file is invalid\.
19
19
 
20
20
  For more information on Uffizzi previews, see:
21
- https://docs\.uffizzi\.com/cli/preview
21
+ https://github\.com/UffizziCloud/uffizzi_cli
22
22
  .fi
23
23
  .SH "POSITIONAL ARGUMENTS"
24
24
  .nf
@@ -14,7 +14,7 @@ uffizzi-preview-create - create a preview
14
14
  - The alternate compose file is invalid.
15
15
 
16
16
  For more information on Uffizzi previews, see:
17
- https://docs.uffizzi.com/cli/preview
17
+ https://github.com/UffizziCloud/uffizzi_cli
18
18
 
19
19
  ## POSITIONAL ARGUMENTS
20
20
  [COMPOSE_FILE]
@@ -1,6 +1,6 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UFFIZZI\-PREVIEW\-DELETE" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-DELETE" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-delete\fR \- delete a preview
6
6
  .SH "SYNOPSIS"
@@ -16,7 +16,7 @@ This command can fail for the following reasons:
16
16
  \- The preview specified belongs to a different project\.
17
17
 
18
18
  For more information on Uffizzi previews, see:
19
- https://docs\.uffizzi\.com/cli/preview
19
+ https://github\.com/UffizziCloud/uffizzi_cli
20
20
  .fi
21
21
  .SH "POSITIONAL ARGUMENTS"
22
22
  .nf