axiomhq / axiomhq/cli

Ingest with shell expanded list of files throws "Error: accepts at most 1 arg(s), received x"

Open
#70 5 comments 0 reactions 1 assignee Claimed by @lukasmalkmus View on GitHub
bug
Dominant language
Go
Stars
59
Forks
11
Avg merge
10h 8m
Merged PRs (30d)
10

Description

The example of the `ingest` command says:

```
# Ingest the contents of all files inside /var/logs/nginx with
# extension ".log" into a dataset named "nginx-logs":
$ axiom ingest nginx-logs -f /var/logs/nginx/*.log
```

But it actually throws `Error: accepts at most 1 arg(s), received x`, with x being the amount of actual files the shell expanded to.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.