Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from GreptimeTeam:develop #23

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,25 @@
<img alt="screenshot" src="./docs/images/screenshot.png" width="800px">
</p>

## Quickstart
## Installation

Install the `gtctl` binary using the following **one-line installatio**n command:
Install `gtctl` using the following **oneliner installation** command:

```console
```shell
curl -fsSL https://raw.githubusercontent.com/greptimeteam/gtctl/develop/hack/install.sh | sh
```

In case of `go` is available, you can alternatively install `gtctl` with:

```shell
go install github.com/GreptimeTeam/gtctl/cmd/gtctl@develop
```

## Quickstart

The **fastest** way to experience the GreptimeDB cluster is to use the playground:

```console
```shell
gtctl playground
```

Expand All @@ -34,4 +42,4 @@ The `playground` will deploy the minimal GreptimeDB cluster on your environment

## License

`gtctl` uses the [Apache 2.0 license](./LICENSE) to strike a balance between open contributions and allowing you to use the software however you want.
`gtctl` uses the [Apache 2.0 license](LICENSE) to strike a balance between open contributions and allowing you to use the software however you want.
2 changes: 1 addition & 1 deletion cmd/gtctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {
panic(err)
}

if pm.ShouldRun(os.Args[1]) {
if len(os.Args) > 1 && pm.ShouldRun(os.Args[1]) {
if err = pm.Run(os.Args[1:]); err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down
Loading