|
1 | 1 | # nctl |
2 | 2 |
|
3 | | -```bash |
4 | | -$ nctl --help |
5 | | -Usage: nctl <command> |
| 3 | +[](https://github.com/ninech/nctl/actions/workflows/go.yml) |
| 4 | +[](https://github.com/ninech/nctl/releases) |
| 5 | +[](https://goreportcard.com/report/github.com/ninech/nctl) |
| 6 | +[](LICENSE) |
6 | 7 |
|
7 | | -Interact with Nine API resources. See https://docs.nineapis.ch for the full API docs. |
| 8 | +`nctl` is the command-line interface for [Nine](https://nine.ch)'s cloud platform. |
| 9 | +It lets you manage applications, services, storage, and more from your terminal. |
8 | 10 |
|
9 | | -Run "nctl <command> --help" for more information on a command. |
10 | | -``` |
| 11 | +**[Documentation](https://docs.nine.ch/docs/nctl/)** |
| 12 | + |
| 13 | +## Resources |
11 | 14 |
|
12 | | -## Setup |
| 15 | +| Category | Resources | |
| 16 | +| -------------------------- | ------------------------------------------------------------------ | |
| 17 | +| **deplo.io** | Applications, Builds, Releases, Configs | |
| 18 | +| **storage.nine.ch** | PostgreSQL, MySQL, OpenSearch, KeyValueStore, Buckets, BucketUsers | |
| 19 | +| **infrastructure.nine.ch** | Kubernetes Clusters, CloudVMs | |
| 20 | +| **networking.nine.ch** | ServiceConnections | |
| 21 | +| **iam.nine.ch** | APIServiceAccounts | |
| 22 | +| **management.nine.ch** | Projects | |
| 23 | + |
| 24 | +## Installation |
13 | 25 |
|
14 | 26 | ```bash |
15 | 27 | # If you have go already installed |
@@ -37,13 +49,32 @@ dnf install nctl |
37 | 49 | # Install yay: https://github.com/Jguer/yay#binary |
38 | 50 | yay --version |
39 | 51 | yay -S nctl-bin |
| 52 | + |
| 53 | +# EGet |
| 54 | +# Install eget https://github.com/zyedidia/eget |
| 55 | +eget ninech/nctl |
40 | 56 | ``` |
41 | 57 |
|
42 | | -For Windows users, nctl is also built for arm64 and amd64. You can download the |
43 | | -latest exe file from the [releases](https://github.com/ninech/nctl/releases) and |
44 | | -install it. |
| 58 | +Binaries for macOS, Linux and Windows can be found on the [releases](https://github.com/ninech/nctl/releases) page. |
| 59 | + |
| 60 | +## Getting Started |
| 61 | + |
| 62 | +1. Login to the API: `nctl auth login` |
| 63 | +2. Explore available commands: `nctl --help` |
| 64 | + |
| 65 | +For complete documentation, tutorials, and guides, visit **[docs.nine.ch/docs/nctl/](https://docs.nine.ch/docs/nctl/)**. |
| 66 | + |
| 67 | +## Development |
| 68 | + |
| 69 | +```bash |
| 70 | +make # Build nctl |
| 71 | +make test # Run tests |
| 72 | +make lint # Run linters |
| 73 | +make lint-fix # Run linters and fix issues |
| 74 | +make update # Update dependencies |
| 75 | +make clean # Remove built artifacts |
| 76 | +``` |
45 | 77 |
|
46 | | -## Getting started |
| 78 | +## License |
47 | 79 |
|
48 | | -* login to the API using `nctl auth login` |
49 | | -* run `nctl --help` to get a list of all available commands |
| 80 | +[Apache 2.0](LICENSE) |
0 commit comments