Skip to content

Commit

Permalink
docs: akka CLI docs (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
2 people authored and octonato committed Nov 29, 2024
1 parent c37357a commit af4f53b
Show file tree
Hide file tree
Showing 140 changed files with 274 additions and 200 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ attributes: prepare
> "${managed_partials}/attributes.adoc"
docs/bin/version.sh | xargs -0 printf ":akka-javasdk-version: %s" \
> "${managed_partials}/attributes.adoc"
echo ":akka-cli-version: 3.0.5" >> "${managed_partials}/attributes.adoc"
echo ":akka-cli-version: 3.0.6" >> "${managed_partials}/attributes.adoc"
echo ":akka-cli-min-version: 3.0.4" >> "${managed_partials}/attributes.adoc"
# see https://adoptium.net/marketplace/
echo ":java-version: 21" \
Expand Down
Empty file modified docs/src-static/install-cli.sh
100644 → 100755
Empty file.
14 changes: 7 additions & 7 deletions docs/src/modules/reference/pages/cli/akka-cli/akka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ Welcome to the Akka CLI, for more information on its usage please visit the docu

* link:akka_auth.html[akka auth] - Manage Akka authentication.
* link:akka_completion.html[akka completion] - Generate shell completion scripts
* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_container-registry.html[akka container-registry] - Manage the Akka Container Registry.
* link:akka_docker.html[akka docker] - Manage Docker credentials for Akka projects.
* link:akka_docs.html[akka docs] - Opens the Akka documentation page
* link:akka_local.html[akka local] - Helps with local development.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.
* link:akka_container-registry.html[akka container-registry] - Manage and push service images to the Akka Container Registry.
* link:akka_docker.html[akka docker] - Manage credentials for projects using private Docker registries.
* link:akka_docs.html[akka docs] - Open the Akka documentation page
* link:akka_local.html[akka local] - Interact with and manage Akka services running locally.
* link:akka_logs.html[akka logs] - Display the last few lines of logs for a specific service.
* link:akka_organizations.html[akka organizations] - Manage your organizations on Akka
* link:akka_projects.html[akka projects] - Manage your Akka projects.
* link:akka_quickstart.html[akka quickstart] - Akka quickstart project samples.
* link:akka_regions.html[akka regions] - Manage regions on Akka
* link:akka_regions.html[akka regions] - Manage available regions.
* link:akka_roles.html[akka roles] - Manage the user roles for an Akka project.
* link:akka_routes.html[akka routes] - Manage routes for your Akka project.
* link:akka_secrets.html[akka secrets] - Manage secrets for an Akka project.
* link:akka_services.html[akka services] - Manage and deploy services on Akka.
* link:akka_version.html[akka version] - Prints the akka version
* link:akka_version.html[akka version] - Print the akka CLI version

[discrete]

6 changes: 3 additions & 3 deletions docs/src/modules/reference/pages/cli/akka-cli/akka_auth.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ When authorized, you can use the CLI to perform the same operations available in
== SEE ALSO

* link:akka.html[akka] - Akka control
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage the Akka Container Registry configuration.
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage configuration for Akka Container Registry.
* link:akka_auth_current-login.html[akka auth current-login] - Get details for the current logged in user.
* link:akka_auth_login.html[akka auth login] - Log in to Akka.
* link:akka_auth_logout.html[akka auth logout] - Log out the current user.
* link:akka_auth_signup.html[akka auth signup] - Opens the registration page.
* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens.
* link:akka_auth_signup.html[akka auth signup] - Open the registration page.
* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens for your user.
* link:akka_auth_use-token.html[akka auth use-token] - Login using a token.

[discrete]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
= akka auth container-registry

Manage the Akka Container Registry configuration.
Manage configuration for Akka Container Registry.

== Synopsis

The Akka Container Registry (ACR) can be used by all Akka users to deploy services and is available in all Akka regions.
The Akka Container Registry (ACR) can be used by all users to deploy their services.
ACR uses an access token generated via Akka for authentication.
This command allows you to configure the Docker credential helper for ACR.

NOTE: to use this command, the current user must be logged into Akka and Docker must be installed and accessible for the current user.

== Options

Expand Down Expand Up @@ -32,8 +36,8 @@ The Akka Container Registry (ACR) can be used by all Akka users to deploy servic
* link:akka_auth.html[akka auth] - Manage Akka authentication.
* link:akka_auth_container-registry_clear-cached-token.html[akka auth container-registry clear-cached-token] - Clear the cached Akka Container Registry access token.
* link:akka_auth_container-registry_configure.html[akka auth container-registry configure] - Configure the Akka Container Registry docker credential helper.
* link:akka_auth_container-registry_credentials.html[akka auth container-registry credentials] - Retrieves an Akka Container Registry access token for the current user.
* link:akka_auth_container-registry_install-helper.html[akka auth container-registry install-helper] - Installs the Akka Docker credential helper in the selected directory.
* link:akka_auth_container-registry_credentials.html[akka auth container-registry credentials] - Retrieve an Akka Container Registry access token for the current user.
* link:akka_auth_container-registry_install-helper.html[akka auth container-registry install-helper] - Install the Akka Docker credential helper in the selected directory.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ akka auth container-registry clear-cached-token [flags]

== SEE ALSO

* link:akka_auth_container-registry.html[akka auth container-registry] - Manage the Akka Container Registry configuration.
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage configuration for Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka auth container-registry configure [flags]

== SEE ALSO

* link:akka_auth_container-registry.html[akka auth container-registry] - Manage the Akka Container Registry configuration.
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage configuration for Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= akka auth container-registry credentials

Retrieves an Akka Container Registry access token for the current user.
Retrieve an Akka Container Registry access token for the current user.

----
akka auth container-registry credentials [flags]
Expand Down Expand Up @@ -32,7 +32,7 @@ akka auth container-registry credentials [flags]

== SEE ALSO

* link:akka_auth_container-registry.html[akka auth container-registry] - Manage the Akka Container Registry configuration.
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage configuration for Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= akka auth container-registry install-helper

Installs the Akka Docker credential helper in the selected directory.
Install the Akka Docker credential helper in the selected directory.

== Synopsis

Expand Down Expand Up @@ -33,7 +33,7 @@ akka auth container-registry install-helper [flags]

== SEE ALSO

* link:akka_auth_container-registry.html[akka auth container-registry] - Manage the Akka Container Registry configuration.
* link:akka_auth_container-registry.html[akka auth container-registry] - Manage configuration for Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= akka auth signup

Opens the registration page.
Open the registration page.

----
akka auth signup [flags]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
= akka auth tokens

Manage Akka authentication tokens.
Manage Akka authentication tokens for your user.

== Synopsis

The command `akka auth tokens` manage the authentication tokens for your user allowing you to revoke any token at any time, but also to create new tokens for use in CI/CD pipelines for machine-user accounts.

== Options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Token created: 0123456789abcdef0123456789abcdef0123456789abcdef

== SEE ALSO

* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens.
* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens for your user.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ akka auth tokens list [flags]

== SEE ALSO

* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens.
* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens for your user.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ akka auth tokens revoke ID [flags]

== SEE ALSO

* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens.
* link:akka_auth_tokens.html[akka auth tokens] - Manage Akka authentication tokens for your user.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
= akka config

Manage the local Akka configuration.
Manage configuration and context for the Akka CLI.

== Synopsis

The `akka config` commands display and set configuration contexts and values that apply to subsequent commands.
These are often useful to make your CLI experience more fluid.
For example, by having set a default _project_, you can avoid specifying the project id or name in every command.

Configuration settings are stored in a file on your local system, by default at `.akka/config.yaml` in your home directory.
This location can be adjusted with the `--config` flag.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config clear-cache [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config clear KEY [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ akka config current-context [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config delete-context CONTEXT [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ akka config get-organization [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ akka config get-project [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config get KEY [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config list-contexts [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config list [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ akka config rename-context CONTEXT [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ akka config set KEY VALUE [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ akka config use-context CONTEXT [flags]

== SEE ALSO

* link:akka_config.html[akka config] - Manage the local Akka configuration.
* link:akka_config.html[akka config] - Manage configuration and context for the Akka CLI.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
= akka container-registry

Manage the Akka Container Registry.
Manage and push service images to the Akka Container Registry.

== Synopsis

The Akka Container Registry (ACR) can be used by all Akka users to deploy services and is available in all Akka regions.
The Akka Container Registry (ACR) can be used by all users to deploy their services.
ACR makes service container images available to Akka in all regions automatically.

NOTE: to use an external Docker registry instead, refer to the documentation https://doc.akka.io/operations/projects/external-container-registries.html .

== Options

Expand All @@ -30,11 +33,11 @@ The Akka Container Registry (ACR) can be used by all Akka users to deploy servic
== SEE ALSO

* link:akka.html[akka] - Akka control
* link:akka_container-registry_delete-image.html[akka container-registry delete-image] - delete image from the Akka Container Registry.
If no tag is provided, it deletes all tags
* link:akka_container-registry_delete-image.html[akka container-registry delete-image] - Delete image from the Akka Container Registry.
If no tag is provided, it deletes all tags.
* link:akka_container-registry_list.html[akka container-registry list] - List the Akka Container Registry and region.
* link:akka_container-registry_list-images.html[akka container-registry list-images] - list images from the Akka Container Registry.
* link:akka_container-registry_list-tags.html[akka container-registry list-tags] - list all images tags.
* link:akka_container-registry_list-tags.html[akka container-registry list-tags] - List all images tags.
* link:akka_container-registry_print.html[akka container-registry print] - Print the path of the Akka Container Registry.
* link:akka_container-registry_push.html[akka container-registry push] - Push an Akka service image for a particular Akka project.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
= akka container-registry delete-image

delete image from the Akka Container Registry.
If no tag is provided, it deletes all tags
Delete image from the Akka Container Registry.
If no tag is provided, it deletes all tags.

----
akka container-registry delete-image <image>[:<tag>] [flags]
akka container-registry delete-image _image_[:<tag>] [flags]
----

== Options
Expand All @@ -30,7 +30,7 @@ akka container-registry delete-image <image>[:<tag>] [flags]

== SEE ALSO

* link:akka_container-registry.html[akka container-registry] - Manage the Akka Container Registry.
* link:akka_container-registry.html[akka container-registry] - Manage and push service images to the Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ akka container-registry list-images [flags]

== SEE ALSO

* link:akka_container-registry.html[akka container-registry] - Manage the Akka Container Registry.
* link:akka_container-registry.html[akka container-registry] - Manage and push service images to the Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= akka container-registry list-tags

list all images tags.
List all images tags.

== Synopsis

Expand Down Expand Up @@ -35,7 +35,7 @@ akka container-registry list-tags IMAGE [flags]

== SEE ALSO

* link:akka_container-registry.html[akka container-registry] - Manage the Akka Container Registry.
* link:akka_container-registry.html[akka container-registry] - Manage and push service images to the Akka Container Registry.

[discrete]

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ akka container-registry list [flags]

== SEE ALSO

* link:akka_container-registry.html[akka container-registry] - Manage the Akka Container Registry.
* link:akka_container-registry.html[akka container-registry] - Manage and push service images to the Akka Container Registry.

[discrete]

Loading

0 comments on commit af4f53b

Please sign in to comment.