uffizzi-cli 0.6.0 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -7
  3. data/exe/uffizzi +1 -1
  4. data/lib/uffizzi/auth_helper.rb +0 -4
  5. data/lib/uffizzi/cli/common.rb +2 -2
  6. data/lib/uffizzi/cli/config.rb +5 -11
  7. data/lib/uffizzi/cli/connect.rb +74 -27
  8. data/lib/uffizzi/cli/disconnect.rb +1 -1
  9. data/lib/uffizzi/cli/login.rb +2 -2
  10. data/lib/uffizzi/cli/logout.rb +1 -1
  11. data/lib/uffizzi/cli/preview/service.rb +8 -7
  12. data/lib/uffizzi/cli/preview.rb +66 -123
  13. data/lib/uffizzi/cli/project/compose.rb +14 -16
  14. data/lib/uffizzi/cli/project/secret.rb +19 -8
  15. data/lib/uffizzi/cli/project.rb +31 -7
  16. data/lib/uffizzi/cli.rb +15 -23
  17. data/lib/uffizzi/clients/api/api_client.rb +66 -21
  18. data/lib/uffizzi/clients/api/api_routes.rb +8 -0
  19. data/lib/uffizzi/clients/api/http_client.rb +47 -45
  20. data/lib/uffizzi/date_helper.rb +45 -0
  21. data/lib/uffizzi/response_helper.rb +11 -7
  22. data/lib/uffizzi/services/command_service.rb +9 -0
  23. data/lib/uffizzi/services/compose_file_service.rb +3 -0
  24. data/lib/uffizzi/services/preview_service.rb +109 -0
  25. data/lib/uffizzi/version.rb +1 -1
  26. data/man/uffizzi-connect +37 -0
  27. data/man/uffizzi-connect-acr +35 -0
  28. data/man/uffizzi-connect-acr.ronn +28 -0
  29. data/man/uffizzi-connect-docker-hub +34 -0
  30. data/man/uffizzi-connect-docker-hub.ronn +27 -0
  31. data/man/uffizzi-connect-ecr +35 -0
  32. data/man/uffizzi-connect-ecr.ronn +28 -0
  33. data/man/uffizzi-connect-gcr +40 -0
  34. data/man/uffizzi-connect-gcr.ronn +32 -0
  35. data/man/uffizzi-connect-ghcr +35 -0
  36. data/man/uffizzi-connect-ghcr.ronn +28 -0
  37. data/man/uffizzi-connect.ronn +31 -0
  38. data/man/uffizzi-disconnect +37 -0
  39. data/man/uffizzi-disconnect.ronn +31 -0
  40. data/man/uffizzi-login +1 -1
  41. data/man/uffizzi-login.ronn +1 -1
  42. data/man/uffizzi-preview-update +34 -0
  43. data/man/uffizzi-preview-update.ronn +33 -0
  44. data/man/uffizzi-project-set-default +34 -0
  45. data/man/uffizzi-project-set-default.html +111 -0
  46. data/man/uffizzi-project-set-default.ronn +26 -0
  47. metadata +23 -2
@@ -0,0 +1,28 @@
1
+ uffizzi-connect-acr - grant a Uffizzi user account access to a private Azure Container Registry (ACR)
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect acr
6
+
7
+ ## DESCRIPTION
8
+ Given valid credentials, grants a Uffizzi user account access
9
+ to a private Azure Container Registry
10
+
11
+ This command can fail for the following reasons:
12
+ - The active user does not have permission to connect
13
+ external services.
14
+ - The given credentials are invalid.
15
+
16
+ For more information on connecting to external services, see:
17
+ https://docs.uffizzi.com/cli
18
+
19
+ For detailed instructions on configuring webhooks to send push
20
+ notifications to Uffizzi, see
21
+ https://docs.uffizzi.com/guides/container-registry-integrations
22
+
23
+ ## EXAMPLES
24
+ The following command will prompt the user to enter ACR
25
+ credentials, including registry domain, Docker ID and
26
+ password or access token:
27
+
28
+ $ uffizzi connect acr
@@ -0,0 +1,34 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-CONNECT\-DOCKER\-HUB" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-connect\-docker\-hub\fR \- grant a Uffizzi user account access to a private Docker Hub registry\.
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi connect docker\-hub
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Given valid credentials, grants a Uffizzi user account access
13
+ to a private Docker Hub registry
14
+
15
+ This command can fail for the following reasons:
16
+ \- The active user does not have permission to connect
17
+ external services\.
18
+ \- The given credentials are invalid\.
19
+
20
+ For more information on connecting to external services, see:
21
+ https://docs\.uffizzi\.com/cli
22
+
23
+ For detailed instructions on configuring webhooks to send push
24
+ notifications to Uffizzi, see
25
+ https://docs\.uffizzi\.com/guides/container\-registry\-integrations
26
+ .fi
27
+ .SH "EXAMPLES"
28
+ .nf
29
+ The following command will prompt the user to enter Docker Hub
30
+ credentials, including Docker ID and password or access token:
31
+
32
+ $ uffizzi connect docker\-hub
33
+ .fi
34
+
@@ -0,0 +1,27 @@
1
+ uffizzi-connect-docker-hub - grant a Uffizzi user account access to a private Docker Hub registry.
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect docker-hub
6
+
7
+ ## DESCRIPTION
8
+ Given valid credentials, grants a Uffizzi user account access
9
+ to a private Docker Hub registry
10
+
11
+ This command can fail for the following reasons:
12
+ - The active user does not have permission to connect
13
+ external services.
14
+ - The given credentials are invalid.
15
+
16
+ For more information on connecting to external services, see:
17
+ https://docs.uffizzi.com/cli
18
+
19
+ For detailed instructions on configuring webhooks to send push
20
+ notifications to Uffizzi, see
21
+ https://docs.uffizzi.com/guides/container-registry-integrations
22
+
23
+ ## EXAMPLES
24
+ The following command will prompt the user to enter Docker Hub
25
+ credentials, including Docker ID and password or access token:
26
+
27
+ $ uffizzi connect docker-hub
@@ -0,0 +1,35 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-CONNECT\-ECR" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private Amazon Elastic Container Registry (ECR)
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi connect ecr
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Given valid credentials, grants a Uffizzi user account access
13
+ to a private Amazon Elastic Container Registry
14
+
15
+ This command can fail for the following reasons:
16
+ \- The active user does not have permission to connect
17
+ external services\.
18
+ \- The given credentials are invalid\.
19
+
20
+ For more information on connecting to external services, see:
21
+ https://docs\.uffizzi\.com/cli
22
+
23
+ For detailed instructions on configuring webhooks to send push
24
+ notifications to Uffizzi, see
25
+ https://docs\.uffizzi\.com/guides/container\-registry\-integrations
26
+ .fi
27
+ .SH "EXAMPLES"
28
+ .nf
29
+ The following command will prompt the user to enter ACR
30
+ credentials, including registry domain, access key ID and
31
+ secret access key:
32
+
33
+ $ uffizzi connect ecr
34
+ .fi
35
+
@@ -0,0 +1,28 @@
1
+ uffizzi-connect-ecr - grant a Uffizzi user account access to a private Amazon Elastic Container Registry (ECR)
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect ecr
6
+
7
+ ## DESCRIPTION
8
+ Given valid credentials, grants a Uffizzi user account access
9
+ to a private Amazon Elastic Container Registry
10
+
11
+ This command can fail for the following reasons:
12
+ - The active user does not have permission to connect
13
+ external services.
14
+ - The given credentials are invalid.
15
+
16
+ For more information on connecting to external services, see:
17
+ https://docs.uffizzi.com/cli
18
+
19
+ For detailed instructions on configuring webhooks to send push
20
+ notifications to Uffizzi, see
21
+ https://docs.uffizzi.com/guides/container-registry-integrations
22
+
23
+ ## EXAMPLES
24
+ The following command will prompt the user to enter ACR
25
+ credentials, including registry domain, access key ID and
26
+ secret access key:
27
+
28
+ $ uffizzi connect ecr
@@ -0,0 +1,40 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-CONNECT\-GCR" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-connect\-gcr\fR \- grant a Uffizzi user account access to a private Google Container Registry (GCR)
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi connect gcr [KEY_FILE]
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Given valid credentials, grants a Uffizzi user account access
13
+ to a private Google Container Registry
14
+
15
+ This command can fail for the following reasons:
16
+ \- The active user does not have permission to connect
17
+ external services\.
18
+ \- The given credentials are invalid\.
19
+
20
+ For more information on connecting to external services, see:
21
+ https://docs\.uffizzi\.com/cli
22
+
23
+ For detailed instructions on configuring webhooks to send push
24
+ notifications to Uffizzi, see
25
+ https://docs\.uffizzi\.com/guides/container\-registry\-integrations
26
+ .fi
27
+ .SH "POSITIONAL ARGUMENTS"
28
+ .nf
29
+ KEY_FILE
30
+ A Google Cloud service account key file\. The key file is a
31
+ JSON file that grants Uffizzi access to a private GCR\.
32
+ .fi
33
+ .SH "EXAMPLES"
34
+ .nf
35
+ The following command uses a Google Cloud service account key
36
+ file called sa\-private\-key\.json to connect to a private GCR:
37
+
38
+ $ uffizzi connect gcr sa\-private\-key\.json
39
+ .fi
40
+
@@ -0,0 +1,32 @@
1
+ uffizzi-connect-gcr - grant a Uffizzi user account access to a private Google Container Registry (GCR)
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect gcr [KEY_FILE]
6
+
7
+ ## DESCRIPTION
8
+ Given valid credentials, grants a Uffizzi user account access
9
+ to a private Google Container Registry
10
+
11
+ This command can fail for the following reasons:
12
+ - The active user does not have permission to connect
13
+ external services.
14
+ - The given credentials are invalid.
15
+
16
+ For more information on connecting to external services, see:
17
+ https://docs.uffizzi.com/cli
18
+
19
+ For detailed instructions on configuring webhooks to send push
20
+ notifications to Uffizzi, see
21
+ https://docs.uffizzi.com/guides/container-registry-integrations
22
+
23
+ ## POSITIONAL ARGUMENTS
24
+ KEY_FILE
25
+ A Google Cloud service account key file. The key file is a
26
+ JSON file that grants Uffizzi access to a private GCR.
27
+
28
+ ## EXAMPLES
29
+ The following command uses a Google Cloud service account key
30
+ file called sa-private-key.json to connect to a private GCR:
31
+
32
+ $ uffizzi connect gcr sa-private-key.json
@@ -0,0 +1,35 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-CONNECT\-ECR" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private GitHub Container Registry (GHCR)
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi connect ecr
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Given valid credentials, grants a Uffizzi user account access
13
+ to a private GitHub Container Registry
14
+
15
+ This command can fail for the following reasons:
16
+ \- The active user does not have permission to connect
17
+ external services\.
18
+ \- The given credentials are invalid\.
19
+
20
+ For more information on connecting to external services, see:
21
+ https://docs\.uffizzi\.com/cli
22
+
23
+ For detailed instructions on configuring webhooks to send push
24
+ notifications to Uffizzi, see
25
+ https://docs\.uffizzi\.com/guides/container\-registry\-integrations
26
+ .fi
27
+ .SH "EXAMPLES"
28
+ .nf
29
+ The following command will prompt the user to enter GHCR
30
+ credentials, including GitHub account name and
31
+ personal access key (PAT):
32
+
33
+ $ uffizzi connect ecr
34
+ .fi
35
+
@@ -0,0 +1,28 @@
1
+ uffizzi-connect-ecr - grant a Uffizzi user account access to a private GitHub Container Registry (GHCR)
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect ecr
6
+
7
+ ## DESCRIPTION
8
+ Given valid credentials, grants a Uffizzi user account access
9
+ to a private GitHub Container Registry
10
+
11
+ This command can fail for the following reasons:
12
+ - The active user does not have permission to connect
13
+ external services.
14
+ - The given credentials are invalid.
15
+
16
+ For more information on connecting to external services, see:
17
+ https://docs.uffizzi.com/cli
18
+
19
+ For detailed instructions on configuring webhooks to send push
20
+ notifications to Uffizzi, see
21
+ https://docs.uffizzi.com/guides/container-registry-integrations
22
+
23
+ ## EXAMPLES
24
+ The following command will prompt the user to enter GHCR
25
+ credentials, including GitHub account name and
26
+ personal access key (PAT):
27
+
28
+ $ uffizzi connect ecr
@@ -0,0 +1,31 @@
1
+ uffizzi-connect - grant a Uffizzi user account access to external services
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi connect COMMAND
6
+
7
+ ## DESCRIPTION
8
+ Grants a Uffizzi user account access to external services
9
+
10
+ For more information on connecting to external services, see:
11
+ https://docs.uffizzi.com/cli
12
+
13
+ ## COMMANDS
14
+ COMMAND is one of the following:
15
+
16
+ acr
17
+ Connect to Azure Container Registry (azurecr.io).
18
+
19
+ docker-hub
20
+ Connect to Docker Hub (hub.docker.com).
21
+
22
+ ecr
23
+ Connect to Amazon Elastic Container Registry (amazonaws.com).
24
+
25
+ gcr
26
+ Connect to Google Container Registry (gcr.io).
27
+
28
+ gchr
29
+ Connect to GitHub Container Registry (ghcr.io).
30
+
31
+ Run 'uffizzi connect COMMAND --help' for more information on a command.
@@ -0,0 +1,37 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-DISCONNECT" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-disconnect\fR \- revoke a Uffizzi user account access to external services
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi disconnect COMMAND
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Revokes a Uffizzi user account access to external services
13
+
14
+ For more information on connecting to external services, see:
15
+ https://docs\.uffizzi\.com/cli
16
+ .fi
17
+ .SH "COMMANDS"
18
+ .nf
19
+ COMMAND is one of the following:
20
+
21
+ acr
22
+ Disonnect from Azure Container Registry (azurecr\.io)\.
23
+
24
+ docker\-hub
25
+ Disonnect from Docker Hub (hub\.docker\.com)\.
26
+
27
+ ecr
28
+ Disonnect from Amazon Elastic Container Registry (amazonaws\.com)\.
29
+
30
+ gcr
31
+ Disonnect from Google Container Registry (gcr\.io)\.
32
+
33
+ gchr
34
+ Disonnect from GitHub Container Registry (ghcr\.io)\.
35
+ .fi
36
+ .P
37
+ Run \'uffizzi disconnect COMMAND \-\-help\' for more information on a command\.
@@ -0,0 +1,31 @@
1
+ uffizzi-disconnect - revoke a Uffizzi user account access to external services
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi disconnect COMMAND
6
+
7
+ ## DESCRIPTION
8
+ Revokes a Uffizzi user account access to external services
9
+
10
+ For more information on connecting to external services, see:
11
+ https://docs.uffizzi.com/cli
12
+
13
+ ## COMMANDS
14
+ COMMAND is one of the following:
15
+
16
+ acr
17
+ Disonnect from Azure Container Registry (azurecr.io).
18
+
19
+ docker-hub
20
+ Disonnect from Docker Hub (hub.docker.com).
21
+
22
+ ecr
23
+ Disonnect from Amazon Elastic Container Registry (amazonaws.com).
24
+
25
+ gcr
26
+ Disonnect from Google Container Registry (gcr.io).
27
+
28
+ gchr
29
+ Disonnect from GitHub Container Registry (ghcr.io).
30
+
31
+ Run 'uffizzi disconnect COMMAND --help' for more information on a command.
data/man/uffizzi-login CHANGED
@@ -2,7 +2,7 @@
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
3
  .TH "UFFIZZI\-LOGIN" "" "April 2022" ""
4
4
  .SH "NAME"
5
- \fBuffizzi\-login\fR \- login to Uffizzi
5
+ \fBuffizzi\-login\fR \- login to Uffizzi to view and manage your previews\.
6
6
  .SH "SYNOPSIS"
7
7
  .nf
8
8
  uffizzi login [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
@@ -1,4 +1,4 @@
1
- uffizzi-login - login to Uffizzi
1
+ uffizzi-login - login to Uffizzi to view and manage your previews.
2
2
  ================================================================
3
3
 
4
4
  ## SYNOPSIS
@@ -0,0 +1,34 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UPDATE" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi preview update\fR \- update a preview
6
+ .SH "SYNOPSIS"
7
+ \fBuffizzi preview update [PREVIEW_ID] [COMPOSE_FILE] [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
8
+ .SH "DESCRIPTION"
9
+ \fBGiven a preview ID and new compose file, update a preview\. Updating a preview does not change its preview URL\.
10
+
11
+ This command can fail for the following reasons:
12
+ \- There is no preview with the given PREVIEW_ID
13
+ \- The COMPOSE_FILE specified is invalid
14
+
15
+ For more information on Uffizzi previews, see:
16
+ https://docs\.uffizzi\.com/cli/preview
17
+ .SH "POSITIONAL ARGUMENTS"
18
+ \fB[PREVIEW_ID]
19
+ .nf
20
+ The ID of the preview that you want to update\.
21
+ .P
22
+ \fB[COMPOSE_FILE]
23
+ .nf
24
+ The new compose file you want to preview\.
25
+ .SH "UFFIZZI WIDE FLAGS"
26
+ These flags are available to all commands: \-\-project\. Run $ uffizzi help for details\.
27
+ .SH "EXAMPLES"
28
+ The following command updates a preview with ID deployment\-67 using compose file docker\-compose\.alt\.yml:
29
+ .P
30
+ .nf
31
+ $ uffizzi preview update deployment\-67 docker\-compose\.alt\.yml
32
+ .fi
33
+ .IP "" 0
34
+
@@ -0,0 +1,33 @@
1
+ uffizzi preview update - update a preview
2
+ ================================================================
3
+
4
+ SYNOPSIS
5
+ uffizzi preview update [PREVIEW_ID] [COMPOSE_FILE] [UFFIZZI_WIDE_FLAG ...]
6
+
7
+ DESCRIPTION
8
+ Given a preview ID and new compose file, update a preview. Updating a
9
+ preview does not change its preview URL.
10
+
11
+ This command can fail for the following reasons:
12
+ - There is no preview with the given PREVIEW_ID
13
+ - The COMPOSE_FILE specified is invalid
14
+
15
+ For more information on Uffizzi previews, see:
16
+ https://docs.uffizzi.com/cli/preview
17
+
18
+ POSITIONAL ARGUMENTS
19
+ [PREVIEW_ID]
20
+ The ID of the preview that you want to update.
21
+
22
+ [COMPOSE_FILE]
23
+ The new compose file you want to preview.
24
+
25
+ UFFIZZI WIDE FLAGS
26
+ These flags are available to all commands: --project. Run $ uffizzi
27
+ help for details.
28
+
29
+ EXAMPLES
30
+ The following command updates a preview with ID deployment-67 using
31
+ compose file docker-compose.alt.yml:
32
+
33
+ $ uffizzi preview update deployment-67 docker-compose.alt.yml
@@ -0,0 +1,34 @@
1
+ .\" generated with Ronn-NG/v0.9.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3
+ .TH "UFFIZZI\-PROJECT\-SET\-DEFAULT" "" "April 2022" ""
4
+ .SH "NAME"
5
+ \fBuffizzi\-project\-set\-default\fR \- set the default project for the active account
6
+ .SH "SYNOPSIS"
7
+ .nf
8
+ uffizzi project set\-default PROJECT_SLUG [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
9
+ .fi
10
+ .SH "DESCRIPTION"
11
+ .nf
12
+ Sets the default project given with the given project slug\. When set,
13
+ all commands use this project as the default context unless
14
+ overridden by the \-\-project flag\.
15
+
16
+ This command can fail for the following reasons:
17
+ \- There is no project with the given project slug
18
+
19
+ For more information on Uffizzi projects, see:
20
+ https://docs\.uffizzi\.com/cli
21
+ .fi
22
+ .SH "UFFIZZI WIDE FLAGS"
23
+ .nf
24
+ These flags are available to all commands: \-\-project\. Run $ uffizzi
25
+ help for details\.
26
+ .fi
27
+ .SH "EXAMPLES"
28
+ .nf
29
+ The following sets the default project with project slug
30
+ example\-foo\-9suw4 for the active account:
31
+
32
+ $ uffizzi project set\-default example\-foo\-9suw4
33
+ .fi
34
+
@@ -0,0 +1,111 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv='content-type' content='text/html;charset=utf8'>
5
+ <meta name='generator' content='Ronn-NG/v0.9.1 (http://github.com/apjanke/ronn-ng/tree/0.9.1)'>
6
+ <title>set the default project for the active account</title>
7
+ <style type='text/css' media='all'>
8
+ /* style: man */
9
+ body#manpage {margin:0}
10
+ .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
11
+ .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
12
+ .mp h2 {margin:10px 0 0 0}
13
+ .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
14
+ .mp h3 {margin:0 0 0 4ex}
15
+ .mp dt {margin:0;clear:left}
16
+ .mp dt.flush {float:left;width:8ex}
17
+ .mp dd {margin:0 0 0 9ex}
18
+ .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
19
+ .mp pre {margin-bottom:20px}
20
+ .mp pre+h2,.mp pre+h3 {margin-top:22px}
21
+ .mp h2+pre,.mp h3+pre {margin-top:5px}
22
+ .mp img {display:block;margin:auto}
23
+ .mp h1.man-title {display:none}
24
+ .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
25
+ .mp h2 {font-size:16px;line-height:1.25}
26
+ .mp h1 {font-size:20px;line-height:2}
27
+ .mp {text-align:justify;background:#fff}
28
+ .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
29
+ .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
30
+ .mp u {text-decoration:underline}
31
+ .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
32
+ .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
33
+ .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
34
+ .mp b.man-ref {font-weight:normal;color:#434241}
35
+ .mp pre {padding:0 4ex}
36
+ .mp pre code {font-weight:normal;color:#434241}
37
+ .mp h2+pre,h3+pre {padding-left:0}
38
+ ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
39
+ ol.man-decor {width:100%}
40
+ ol.man-decor li.tl {text-align:left}
41
+ ol.man-decor li.tc {text-align:center;letter-spacing:4px}
42
+ ol.man-decor li.tr {text-align:right;float:right}
43
+ </style>
44
+ </head>
45
+ <!--
46
+ The following styles are deprecated and will be removed at some point:
47
+ div#man, div#man ol.man, div#man ol.head, div#man ol.man.
48
+
49
+ The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
50
+ .man-navigation should be used instead.
51
+ -->
52
+ <body id='manpage'>
53
+ <div class='mp' id='man'>
54
+
55
+ <div class='man-navigation' style='display:none'>
56
+ <a href="#NAME">NAME</a>
57
+ <a href="#SYNOPSIS">SYNOPSIS</a>
58
+ <a href="#DESCRIPTION">DESCRIPTION</a>
59
+ <a href="#UFFIZZI-WIDE-FLAGS">UFFIZZI WIDE FLAGS</a>
60
+ <a href="#EXAMPLES">EXAMPLES</a>
61
+ </div>
62
+
63
+ <ol class='man-decor man-head man head'>
64
+ <li class='tl'>uffizzi-project-set-default</li>
65
+ <li class='tc'></li>
66
+ <li class='tr'>uffizzi-project-set-default</li>
67
+ </ol>
68
+
69
+
70
+
71
+ <h2 id="NAME">NAME</h2>
72
+ <p class="man-name">
73
+ <code>uffizzi-project-set-default</code> - <span class="man-whatis">set the default project for the active account</span>
74
+ </p>
75
+ <h2 id="SYNOPSIS">SYNOPSIS</h2>
76
+ <pre><code>uffizzi project set-default PROJECT_SLUG [UFFIZZI_WIDE_FLAG ...]
77
+ </code></pre>
78
+
79
+ <h2 id="DESCRIPTION">DESCRIPTION</h2>
80
+ <pre><code>Sets the default project given with the given project slug. When set,
81
+ all commands use this project as the default context unless
82
+ overridden by the --project flag.
83
+
84
+ This command can fail for the following reasons:
85
+ - There is no project with the given project slug
86
+
87
+ For more information on Uffizzi projects, see:
88
+ https://docs.uffizzi.com/cli
89
+ </code></pre>
90
+
91
+ <h2 id="UFFIZZI-WIDE-FLAGS">UFFIZZI WIDE FLAGS</h2>
92
+ <pre><code>These flags are available to all commands: --project. Run $ uffizzi
93
+ help for details.
94
+ </code></pre>
95
+
96
+ <h2 id="EXAMPLES">EXAMPLES</h2>
97
+ <pre><code>The following sets the default project with project slug
98
+ example-foo-9suw4 for the active account:
99
+
100
+ $ uffizzi project set-default example-foo-9suw4
101
+ </code></pre>
102
+
103
+ <ol class='man-decor man-foot man foot'>
104
+ <li class='tl'></li>
105
+ <li class='tc'>April 2022</li>
106
+ <li class='tr'>uffizzi-project-set-default</li>
107
+ </ol>
108
+
109
+ </div>
110
+ </body>
111
+ </html>
@@ -0,0 +1,26 @@
1
+ uffizzi-project-set-default - set the default project for the active account
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+ uffizzi project set-default PROJECT_SLUG [UFFIZZI_WIDE_FLAG ...]
6
+
7
+ ## DESCRIPTION
8
+ Sets the default project given with the given project slug. When set,
9
+ all commands use this project as the default context unless
10
+ overridden by the --project flag.
11
+
12
+ This command can fail for the following reasons:
13
+ - There is no project with the given project slug
14
+
15
+ For more information on Uffizzi projects, see:
16
+ https://docs.uffizzi.com/cli
17
+
18
+ ## UFFIZZI WIDE FLAGS
19
+ These flags are available to all commands: --project. Run $ uffizzi
20
+ help for details.
21
+
22
+ ## EXAMPLES
23
+ The following sets the default project with project slug
24
+ example-foo-9suw4 for the active account:
25
+
26
+ $ uffizzi project set-default example-foo-9suw4