You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide describes how you can enable command autocompletion for the STACKIT CLI by leveraging the functionality provided the [Cobra](https://github.com/spf13/cobra) framework.
4
+
5
+
The process may vary depending on the type of shell you are using and your operating system (OS).
6
+
7
+
You will need to start a new shell for the setup to take effect.
8
+
9
+
## bash
10
+
11
+
This process depends on the `bash-completion` package. If you don't have it installed already, you can install it via your OS's package manager.
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Your feedback is appreciated!
7
7
8
8
## Installation
9
9
10
-
Please refer to our [installation](./INSTALLATION.md) guide for instructions on how to install and get started using the STACKIT CLI.
10
+
Please refer to our [installation guide](./INSTALLATION.md) for instructions on how to install and get started using the STACKIT CLI.
11
11
12
12
## Usage
13
13
@@ -65,7 +65,7 @@ To authenticate using a service account, run:
65
65
$ stackit auth activate-service-account
66
66
```
67
67
68
-
For more details on how to setup authentication using a service account, check our [Authentication guide](./AUTHENTICATION.md)
68
+
For more details on how to setup authentication using a service account, check our [authentication guide](./AUTHENTICATION.md).
69
69
70
70
## Configuration
71
71
@@ -97,13 +97,17 @@ $ stackit config list
97
97
98
98
You can also edit the configuration file manually.
99
99
100
+
## Autocompletion
101
+
102
+
If you wish to setup command autocompletion in your shell for the STACKIT CLI, please refer to our [autocompletion guide](./AUTOCOMPLETION.md).
103
+
100
104
## Reporting issues
101
105
102
106
If you encounter any issues or have suggestions for improvements, please reach out to the Developer Tools team or open a ticket through the [STACKIT Help Center](https://support.stackit.cloud/).
103
107
104
108
## Contribute
105
109
106
-
Your contribution is welcome! For more details on how to contribute, refer to our [Contribution Guide](./CONTRIBUTION.md).
110
+
Your contribution is welcome! For more details on how to contribute, refer to our [contribution guide](./CONTRIBUTION.md).
0 commit comments