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.
- checksums.yaml +4 -4
- data/config/uffizzi.rb +1 -1
- data/lib/uffizzi/auth_helper.rb +5 -0
- data/lib/uffizzi/cli/config.rb +1 -1
- data/lib/uffizzi/cli/connect.rb +54 -31
- data/lib/uffizzi/cli/disconnect.rb +1 -1
- data/lib/uffizzi/cli/login.rb +76 -2
- data/lib/uffizzi/cli/logout.rb +1 -1
- data/lib/uffizzi/cli/preview.rb +4 -1
- data/lib/uffizzi/cli/project.rb +82 -2
- data/lib/uffizzi/cli.rb +3 -1
- data/lib/uffizzi/clients/api/api_client.rb +15 -1
- data/lib/uffizzi/config_file.rb +8 -18
- data/lib/uffizzi/helpers/project_helper.rb +22 -0
- data/lib/uffizzi/promt.rb +21 -0
- data/lib/uffizzi/services/project_service.rb +40 -0
- data/lib/uffizzi/version.rb +1 -1
- data/lib/uffizzi.rb +5 -0
- data/man/uffizzi +2 -2
- data/man/uffizzi-config +2 -2
- data/man/uffizzi-config.ronn +1 -1
- data/man/uffizzi-connect +2 -2
- data/man/uffizzi-connect-acr +2 -2
- data/man/uffizzi-connect-acr.ronn +1 -1
- data/man/uffizzi-connect-docker-hub +2 -2
- data/man/uffizzi-connect-docker-hub.ronn +1 -1
- data/man/uffizzi-connect-ecr +2 -2
- data/man/uffizzi-connect-ecr.ronn +1 -1
- data/man/uffizzi-connect-gcr +2 -2
- data/man/uffizzi-connect-gcr.ronn +1 -1
- data/man/uffizzi-connect-ghcr +2 -2
- data/man/uffizzi-connect-ghcr.ronn +1 -1
- data/man/uffizzi-connect.ronn +1 -1
- data/man/uffizzi-disconnect +2 -2
- data/man/uffizzi-disconnect.ronn +1 -1
- data/man/uffizzi-login +2 -2
- data/man/uffizzi-login.ronn +1 -1
- data/man/uffizzi-logout +2 -2
- data/man/uffizzi-logout.ronn +1 -1
- data/man/uffizzi-preview +2 -2
- data/man/uffizzi-preview-create +2 -2
- data/man/uffizzi-preview-create.ronn +1 -1
- data/man/uffizzi-preview-delete +2 -2
- data/man/uffizzi-preview-delete.ronn +1 -1
- data/man/uffizzi-preview-describe +2 -2
- data/man/uffizzi-preview-describe.ronn +1 -1
- data/man/uffizzi-preview-events +2 -2
- data/man/uffizzi-preview-events.ronn +1 -1
- data/man/uffizzi-preview-list +2 -2
- data/man/uffizzi-preview-list.ronn +1 -1
- data/man/uffizzi-preview-service-list +2 -2
- data/man/uffizzi-preview-service-list.ronn +1 -1
- data/man/uffizzi-preview-service-logs +2 -2
- data/man/uffizzi-preview-service-logs.ronn +1 -1
- data/man/uffizzi-preview-update +20 -12
- data/man/uffizzi-preview-update.ronn +6 -6
- data/man/uffizzi-preview.ronn +1 -1
- data/man/uffizzi-preview_service_logs +2 -2
- data/man/uffizzi-preview_service_logs.ronn +1 -1
- data/man/uffizzi-project +2 -2
- data/man/uffizzi-project-compose +2 -2
- data/man/uffizzi-project-compose-describe +2 -2
- data/man/uffizzi-project-compose-describe.ronn +1 -1
- data/man/uffizzi-project-compose-set +2 -2
- data/man/uffizzi-project-compose-set.ronn +1 -1
- data/man/uffizzi-project-compose-unset +2 -2
- data/man/uffizzi-project-compose-unset.ronn +1 -1
- data/man/uffizzi-project-compose.ronn +1 -1
- data/man/uffizzi-project-create +50 -0
- data/man/uffizzi-project-create.ronn +41 -0
- data/man/uffizzi-project-delete +32 -0
- data/man/uffizzi-project-delete.ronn +24 -0
- data/man/uffizzi-project-describe +43 -0
- data/man/uffizzi-project-describe.ronn +34 -0
- data/man/uffizzi-project-secret +2 -2
- data/man/uffizzi-project-secret-create +2 -2
- data/man/uffizzi-project-secret-create.ronn +1 -1
- data/man/uffizzi-project-secret-delete +2 -2
- data/man/uffizzi-project-secret-delete.ronn +1 -1
- data/man/uffizzi-project-secret-list +2 -2
- data/man/uffizzi-project-secret-list.ronn +1 -1
- data/man/uffizzi-project-secret.ronn +1 -1
- data/man/uffizzi-project-set-default +2 -2
- data/man/uffizzi-project-set-default.ronn +1 -1
- data/man/uffizzi-project.ronn +1 -1
- data/man/uffizzi.html +1 -1
- data/man/uffizzi.ronn +1 -1
- metadata +25 -22
- data/man/uffizzi-config.html +0 -144
- data/man/uffizzi-login.html +0 -113
- data/man/uffizzi-logout.html +0 -102
- data/man/uffizzi-preview-create.html +0 -128
- data/man/uffizzi-preview-delete.html +0 -115
- data/man/uffizzi-preview-describe.html +0 -116
- data/man/uffizzi-preview-events.html +0 -110
- data/man/uffizzi-preview-list.html +0 -110
- data/man/uffizzi-preview.html +0 -120
- data/man/uffizzi-preview_service_logs.html +0 -142
- data/man/uffizzi-project-compose-describe.html +0 -118
- data/man/uffizzi-project-compose-set.html +0 -149
- data/man/uffizzi-project-compose-unset.html +0 -116
- data/man/uffizzi-project-compose.html +0 -123
- data/man/uffizzi-project-secret-create.html +0 -110
- data/man/uffizzi-project-secret-delete.html +0 -110
- data/man/uffizzi-project-secret-list.html +0 -110
- data/man/uffizzi-project-secret.html +0 -119
- data/man/uffizzi-project-set-default.html +0 -111
- 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
|
data/lib/uffizzi/version.rb
CHANGED
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" "" "
|
|
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://
|
|
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" "" "
|
|
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://
|
|
17
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
.fi
|
|
19
19
|
.SH "UFFIZZI WIDE FLAGS"
|
|
20
20
|
.nf
|
data/man/uffizzi-config.ronn
CHANGED
|
@@ -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://
|
|
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" "" "
|
|
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://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "COMMANDS"
|
|
18
18
|
.nf
|
data/man/uffizzi-connect-acr
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\-ACR" "" "
|
|
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://
|
|
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://
|
|
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" "" "
|
|
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://
|
|
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://
|
|
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
|
data/man/uffizzi-connect-ecr
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\-ECR" "" "
|
|
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://
|
|
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://
|
|
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
|
data/man/uffizzi-connect-gcr
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\-GCR" "" "
|
|
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://
|
|
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://
|
|
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
|
data/man/uffizzi-connect-ghcr
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\-ECR" "" "
|
|
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://
|
|
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://
|
|
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
|
data/man/uffizzi-connect.ronn
CHANGED
|
@@ -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://
|
|
11
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
12
12
|
|
|
13
13
|
## COMMANDS
|
|
14
14
|
COMMAND is one of the following:
|
data/man/uffizzi-disconnect
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\-DISCONNECT" "" "
|
|
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://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "COMMANDS"
|
|
18
18
|
.nf
|
data/man/uffizzi-disconnect.ronn
CHANGED
|
@@ -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://
|
|
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" "" "
|
|
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://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "UFFIZZI WIDE FLAGS"
|
|
18
18
|
.nf
|
data/man/uffizzi-login.ronn
CHANGED
|
@@ -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://
|
|
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" "" "
|
|
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://
|
|
13
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
14
14
|
.fi
|
|
15
15
|
.SH "UFFIZZI WIDE FLAGS"
|
|
16
16
|
.nf
|
data/man/uffizzi-logout.ronn
CHANGED
|
@@ -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://
|
|
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" "" "
|
|
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://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "UFFIZZI WIDE FLAGS"
|
|
18
18
|
.nf
|
data/man/uffizzi-preview-create
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\-CREATE" "" "
|
|
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://
|
|
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://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
## POSITIONAL ARGUMENTS
|
|
20
20
|
[COMPOSE_FILE]
|
data/man/uffizzi-preview-delete
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\-DELETE" "" "
|
|
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://
|
|
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://
|
|
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" "" "
|
|
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://
|
|
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://
|
|
15
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
|
|
17
17
|
## POSITIONAL ARGUMENTS
|
|
18
18
|
[PREVIEW_ID]
|
data/man/uffizzi-preview-events
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\-EVENTS" "" "
|
|
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://
|
|
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://
|
|
14
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
15
15
|
|
|
16
16
|
## POSITIONAL ARGUMENTS
|
|
17
17
|
[PREVIEW_ID]
|
data/man/uffizzi-preview-list
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\-LIST" "" "
|
|
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://
|
|
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://
|
|
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" "" "
|
|
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://
|
|
19
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
20
20
|
.fi
|
|
21
21
|
.SH "POSITIONAL ARGUMENTS"
|
|
22
22
|
.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\-SERVICE\-LOGS" "" "
|
|
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://
|
|
19
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
20
20
|
.fi
|
|
21
21
|
.SH "LOG_TYPE"
|
|
22
22
|
.nf
|
data/man/uffizzi-preview-update
CHANGED
|
@@ -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" "" "
|
|
3
|
+
.TH "UPDATE" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi preview update\fR \- update a preview
|
|
6
6
|
.SH "SYNOPSIS"
|
|
7
|
-
|
|
7
|
+
.nf
|
|
8
|
+
uffizzi preview update [PREVIEW_ID] [COMPOSE_FILE] [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
|
|
9
|
+
.fi
|
|
8
10
|
.SH "DESCRIPTION"
|
|
9
|
-
|
|
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://
|
|
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
|
-
|
|
22
|
-
|
|
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
|
-
|
|
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
|
|