uffizzi-cli 0.8.0 → 0.10.1

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 (108) hide show
  1. checksums.yaml +4 -4
  2. data/config/uffizzi.rb +1 -1
  3. data/lib/uffizzi/auth_helper.rb +5 -0
  4. data/lib/uffizzi/cli/config.rb +1 -1
  5. data/lib/uffizzi/cli/connect.rb +54 -31
  6. data/lib/uffizzi/cli/disconnect.rb +1 -1
  7. data/lib/uffizzi/cli/login.rb +76 -2
  8. data/lib/uffizzi/cli/logout.rb +1 -1
  9. data/lib/uffizzi/cli/preview.rb +4 -1
  10. data/lib/uffizzi/cli/project.rb +82 -2
  11. data/lib/uffizzi/cli.rb +3 -1
  12. data/lib/uffizzi/clients/api/api_client.rb +15 -1
  13. data/lib/uffizzi/config_file.rb +8 -18
  14. data/lib/uffizzi/helpers/project_helper.rb +22 -0
  15. data/lib/uffizzi/promt.rb +21 -0
  16. data/lib/uffizzi/services/project_service.rb +40 -0
  17. data/lib/uffizzi/version.rb +1 -1
  18. data/lib/uffizzi.rb +5 -0
  19. data/man/uffizzi +2 -2
  20. data/man/uffizzi-config +2 -2
  21. data/man/uffizzi-config.ronn +1 -1
  22. data/man/uffizzi-connect +2 -2
  23. data/man/uffizzi-connect-acr +2 -2
  24. data/man/uffizzi-connect-acr.ronn +1 -1
  25. data/man/uffizzi-connect-docker-hub +2 -2
  26. data/man/uffizzi-connect-docker-hub.ronn +1 -1
  27. data/man/uffizzi-connect-ecr +2 -2
  28. data/man/uffizzi-connect-ecr.ronn +1 -1
  29. data/man/uffizzi-connect-gcr +2 -2
  30. data/man/uffizzi-connect-gcr.ronn +1 -1
  31. data/man/uffizzi-connect-ghcr +2 -2
  32. data/man/uffizzi-connect-ghcr.ronn +1 -1
  33. data/man/uffizzi-connect.ronn +1 -1
  34. data/man/uffizzi-disconnect +2 -2
  35. data/man/uffizzi-disconnect.ronn +1 -1
  36. data/man/uffizzi-login +2 -2
  37. data/man/uffizzi-login.ronn +1 -1
  38. data/man/uffizzi-logout +2 -2
  39. data/man/uffizzi-logout.ronn +1 -1
  40. data/man/uffizzi-preview +2 -2
  41. data/man/uffizzi-preview-create +2 -2
  42. data/man/uffizzi-preview-create.ronn +1 -1
  43. data/man/uffizzi-preview-delete +2 -2
  44. data/man/uffizzi-preview-delete.ronn +1 -1
  45. data/man/uffizzi-preview-describe +2 -2
  46. data/man/uffizzi-preview-describe.ronn +1 -1
  47. data/man/uffizzi-preview-events +2 -2
  48. data/man/uffizzi-preview-events.ronn +1 -1
  49. data/man/uffizzi-preview-list +2 -2
  50. data/man/uffizzi-preview-list.ronn +1 -1
  51. data/man/uffizzi-preview-service-list +2 -2
  52. data/man/uffizzi-preview-service-list.ronn +1 -1
  53. data/man/uffizzi-preview-service-logs +2 -2
  54. data/man/uffizzi-preview-service-logs.ronn +1 -1
  55. data/man/uffizzi-preview-update +20 -12
  56. data/man/uffizzi-preview-update.ronn +6 -6
  57. data/man/uffizzi-preview.ronn +1 -1
  58. data/man/uffizzi-preview_service_logs +2 -2
  59. data/man/uffizzi-preview_service_logs.ronn +1 -1
  60. data/man/uffizzi-project +2 -2
  61. data/man/uffizzi-project-compose +2 -2
  62. data/man/uffizzi-project-compose-describe +2 -2
  63. data/man/uffizzi-project-compose-describe.ronn +1 -1
  64. data/man/uffizzi-project-compose-set +2 -2
  65. data/man/uffizzi-project-compose-set.ronn +1 -1
  66. data/man/uffizzi-project-compose-unset +2 -2
  67. data/man/uffizzi-project-compose-unset.ronn +1 -1
  68. data/man/uffizzi-project-compose.ronn +1 -1
  69. data/man/uffizzi-project-create +50 -0
  70. data/man/uffizzi-project-create.ronn +41 -0
  71. data/man/uffizzi-project-delete +32 -0
  72. data/man/uffizzi-project-delete.ronn +24 -0
  73. data/man/uffizzi-project-describe +43 -0
  74. data/man/uffizzi-project-describe.ronn +34 -0
  75. data/man/uffizzi-project-secret +2 -2
  76. data/man/uffizzi-project-secret-create +2 -2
  77. data/man/uffizzi-project-secret-create.ronn +1 -1
  78. data/man/uffizzi-project-secret-delete +2 -2
  79. data/man/uffizzi-project-secret-delete.ronn +1 -1
  80. data/man/uffizzi-project-secret-list +2 -2
  81. data/man/uffizzi-project-secret-list.ronn +1 -1
  82. data/man/uffizzi-project-secret.ronn +1 -1
  83. data/man/uffizzi-project-set-default +2 -2
  84. data/man/uffizzi-project-set-default.ronn +1 -1
  85. data/man/uffizzi-project.ronn +1 -1
  86. data/man/uffizzi.html +1 -1
  87. data/man/uffizzi.ronn +1 -1
  88. metadata +25 -22
  89. data/man/uffizzi-config.html +0 -144
  90. data/man/uffizzi-login.html +0 -113
  91. data/man/uffizzi-logout.html +0 -102
  92. data/man/uffizzi-preview-create.html +0 -128
  93. data/man/uffizzi-preview-delete.html +0 -115
  94. data/man/uffizzi-preview-describe.html +0 -116
  95. data/man/uffizzi-preview-events.html +0 -110
  96. data/man/uffizzi-preview-list.html +0 -110
  97. data/man/uffizzi-preview.html +0 -120
  98. data/man/uffizzi-preview_service_logs.html +0 -142
  99. data/man/uffizzi-project-compose-describe.html +0 -118
  100. data/man/uffizzi-project-compose-set.html +0 -149
  101. data/man/uffizzi-project-compose-unset.html +0 -116
  102. data/man/uffizzi-project-compose.html +0 -123
  103. data/man/uffizzi-project-secret-create.html +0 -110
  104. data/man/uffizzi-project-secret-delete.html +0 -110
  105. data/man/uffizzi-project-secret-list.html +0 -110
  106. data/man/uffizzi-project-secret.html +0 -119
  107. data/man/uffizzi-project-set-default.html +0 -111
  108. data/man/uffizzi-project.html +0 -128
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ProjectService
4
+ class << self
5
+ def describe_project(project, output_format)
6
+ json_format?(output_format) ? output_in_json(project) : output_in_pretty_format(project)
7
+ end
8
+
9
+ def select_active_deployments(project)
10
+ project[:deployments].select { |deployment| deployment[:state] == 'active' }
11
+ end
12
+
13
+ private
14
+
15
+ def json_format?(output_format)
16
+ output_format == 'json'
17
+ end
18
+
19
+ def output_in_json(data)
20
+ Uffizzi.ui.say(data.to_json)
21
+ end
22
+
23
+ def output_in_pretty_format(project)
24
+ Uffizzi.ui.say("Project name: #{project[:name]}")
25
+ Uffizzi.ui.say("Project slug: #{project[:slug]}")
26
+ Uffizzi.ui.say("Description: #{project[:description]}".strip)
27
+ Uffizzi.ui.say("Created: #{project[:created_at]}")
28
+ default_compose = project[:default_compose].nil? ? nil : project[:default_compose][:source]
29
+ Uffizzi.ui.say("Default compose: #{default_compose}".strip)
30
+ Uffizzi.ui.say('Previews:')
31
+ project[:deployments].each do |deployment|
32
+ Uffizzi.ui.say(" - deployment-#{deployment[:id]} (https://#{deployment[:preview_url]})")
33
+ end
34
+ Uffizzi.ui.say('Secrets:')
35
+ project[:secrets].each do |secret|
36
+ Uffizzi.ui.say(" - #{secret}")
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uffizzi
4
- VERSION = '0.8.0'
4
+ VERSION = '0.10.1'
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
@@ -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 "CONFIG" "" "April 2022" ""
3
+ .TH "CONFIG" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBconfig\fR \- configure the Uffizzi command\-line interface (CLI)
6
6
  .SH "SYNOPSIS"
@@ -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
@@ -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\-LOGIN" "" "April 2022" ""
3
+ .TH "UFFIZZI\-LOGIN" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-login\fR \- login to Uffizzi to view and manage your previews\.
6
6
  .SH "SYNOPSIS"
@@ -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
@@ -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\-LOGOUT" "" "March 2022" ""
3
+ .TH "UFFIZZI\-LOGOUT" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-logout\fR \- log out of a Uffizzi user account
6
6
  .SH "SYNOPSIS"
@@ -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
@@ -12,7 +12,7 @@ uffizzi-preview-delete - delete a preview
12
12
  - The preview specified belongs to a different project.
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
 
17
17
  ## POSITIONAL ARGUMENTS
18
18
  [PREVIEW_ID]
@@ -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\-DESCRIBE" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-DESCRIBE" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-describe\fR \- show metadata for 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
@@ -12,7 +12,7 @@ uffizzi-preview-describe - show metadata for a preview
12
12
  - The preview specified belongs to a different project.
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
 
17
17
  ## POSITIONAL ARGUMENTS
18
18
  [PREVIEW_ID]
@@ -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\-EVENTS" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-EVENTS" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-events\fR \- show the deployment event logs for a preview
6
6
  .SH "SYNOPSIS"
@@ -15,7 +15,7 @@ This command can fail for the following reasons:
15
15
  \- There is no preview with the given PREVIEW_ID
16
16
 
17
17
  For more information on event logs, see:
18
- https://docs\.uffizzi\.com/cli
18
+ https://github\.com/UffizziCloud/uffizzi_cli
19
19
  .fi
20
20
  .SH "POSITIONAL ARGUMENTS"
21
21
  .nf
@@ -11,7 +11,7 @@ uffizzi-preview-events - show the deployment event logs for a preview
11
11
  - There is no preview with the given PREVIEW_ID
12
12
 
13
13
  For more information on event logs, see:
14
- https://docs.uffizzi.com/cli
14
+ https://github.com/UffizziCloud/uffizzi_cli
15
15
 
16
16
  ## POSITIONAL ARGUMENTS
17
17
  [PREVIEW_ID]
@@ -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\-LIST" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-LIST" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-list\fR \- list previews in a project
6
6
  .SH "SYNOPSIS"
@@ -13,7 +13,7 @@ Lists all previews for a project, including active, building,
13
13
  deploying and failed previews\.
14
14
 
15
15
  For more information on Uffizzi previews, see:
16
- https://docs\.uffizzi\.com/cli/preview
16
+ https://github\.com/UffizziCloud/uffizzi_cli
17
17
  .fi
18
18
  .SH "UFFIZZI WIDE FLAGS"
19
19
  .nf
@@ -9,7 +9,7 @@ uffizzi-preview-list - list previews in a project
9
9
  deploying and failed previews.
10
10
 
11
11
  For more information on Uffizzi previews, see:
12
- https://docs.uffizzi.com/cli/preview
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
@@ -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\-SERVICE\-LIST" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-SERVICE\-LIST" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-service\-list\fR \- list the container services of a given preview
6
6
  .SH "SYNOPSIS"
@@ -16,7 +16,7 @@ This command can fail for the following reasons:
16
16
  \- There is no preview with the given PREVIEW_ID
17
17
 
18
18
  For more information on preview services, see:
19
- https://docs\.uffizzi\.com/cli
19
+ https://github\.com/UffizziCloud/uffizzi_cli
20
20
  .fi
21
21
  .SH "POSITIONAL ARGUMENTS"
22
22
  .nf
@@ -12,7 +12,7 @@
12
12
  - There is no preview with the given PREVIEW_ID
13
13
 
14
14
  For more information on preview services, see:
15
- https://docs.uffizzi.com/cli
15
+ https://github.com/UffizziCloud/uffizzi_cli
16
16
 
17
17
  ## POSITIONAL ARGUMENTS
18
18
  [PREVIEW_ID]
@@ -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\-SERVICE\-LOGS" "" "April 2022" ""
3
+ .TH "UFFIZZI\-PREVIEW\-SERVICE\-LOGS" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi\-preview\-service\-logs\fR \- show the logs for a container service of a preview
6
6
  .SH "SYNOPSIS"
@@ -16,7 +16,7 @@ This command can fail for the following reasons:
16
16
  \- There is no service with the name SERVICE
17
17
 
18
18
  For more information on service logs, see:
19
- https://docs\.uffizzi\.com/cli
19
+ https://github\.com/UffizziCloud/uffizzi_cli
20
20
  .fi
21
21
  .SH "LOG_TYPE"
22
22
  .nf
@@ -12,7 +12,7 @@
12
12
  - There is no service with the name SERVICE
13
13
 
14
14
  For more information on service logs, see:
15
- https://docs.uffizzi.com/cli
15
+ https://github.com/UffizziCloud/uffizzi_cli
16
16
 
17
17
  ## LOG_TYPE
18
18
  LOG_TYPE is one of the following:
@@ -1,34 +1,42 @@
1
1
  .\" generated with Ronn-NG/v0.9.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
- .TH "UPDATE" "" "April 2022" ""
3
+ .TH "UPDATE" "" "May 2022" ""
4
4
  .SH "NAME"
5
5
  \fBuffizzi preview update\fR \- update a preview
6
6
  .SH "SYNOPSIS"
7
- \fBuffizzi preview update [PREVIEW_ID] [COMPOSE_FILE] [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
7
+ .nf
8
+ uffizzi preview update [PREVIEW_ID] [COMPOSE_FILE] [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
9
+ .fi
8
10
  .SH "DESCRIPTION"
9
- \fBGiven a preview ID and new compose file, update a preview\. Updating a preview does not change its preview URL\.
11
+ .nf
12
+ Given a preview ID and new compose file, update a preview\. Updating a
13
+ preview does not change its preview URL\.
10
14
 
11
15
  This command can fail for the following reasons:
12
16
  \- There is no preview with the given PREVIEW_ID
13
17
  \- The COMPOSE_FILE specified is invalid
14
18
 
15
19
  For more information on Uffizzi previews, see:
16
- https://docs\.uffizzi\.com/cli/preview
20
+ https://github\.com/UffizziCloud/uffizzi_cli
21
+ .fi
17
22
  .SH "POSITIONAL ARGUMENTS"
18
- \fB[PREVIEW_ID]
19
23
  .nf
24
+ [PREVIEW_ID]
20
25
  The ID of the preview that you want to update\.
21
- .P
22
- \fB[COMPOSE_FILE]
23
- .nf
26
+
27
+ [COMPOSE_FILE]
24
28
  The new compose file you want to preview\.
29
+ .fi
25
30
  .SH "UFFIZZI WIDE FLAGS"
26
- These flags are available to all commands: \-\-project\. Run $ uffizzi help for details\.
31
+ .nf
32
+ These flags are available to all commands: \-\-project\. Run $ uffizzi
33
+ help for details\.
34
+ .fi
27
35
  .SH "EXAMPLES"
28
- The following command updates a preview with ID deployment\-67 using compose file docker\-compose\.alt\.yml:
29
- .P
30
36
  .nf
37
+ The following command updates a preview with ID deployment\-67 using
38
+ compose file docker\-compose\.alt\.yml:
39
+
31
40
  $ uffizzi preview update deployment\-67 docker\-compose\.alt\.yml
32
41
  .fi
33
- .IP "" 0
34
42