Skip to content
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
2 changes: 1 addition & 1 deletion README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -56,7 +56,7 @@ irm https://github.com/tracebloc/cli/releases/latest/download/install.ps1 | iex
tracebloc data ingest ./my-data \
--name cats_dogs_train \
--task image_classification \
--split train \
--intent train \
--label-column label
```

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/data.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -261,7 +261,7 @@ Exit codes:
// schema validator catches missing/empty values with the canonical
// JSON-pointer-anchored error.
cmd.Flags().StringVar(&name, "name", "",
"a name for this dataset (letters, digits, underscore) — you'll reference it by this name when you start a training run")
"a name for this dataset — start with a letter or underscore, then letters/digits/underscores — you'll reference it by this name when you start a training run")
Comment thread
saadqbal marked this conversation as resolved.
cmd.Flags().StringVar(&tableAlias, "table", "",
"deprecated alias for --name")
_ = cmd.Flags().MarkHidden("table")
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/interactive.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -123,9 +123,9 @@ func runInteractive(p *ui.Printer, pr prompter, a *runDataIngestArgs, taskSet bo
// (b) name — no auto-fill: the example lives in the hint, so the user
// types their own name rather than editing a pre-filled default.
if a.Spec.Table == "" {
p.PromptHint("A name for this dataset — you'll reference it by this name when you start a training run. Letters, digits, underscores. e.g. churn_train")
p.PromptHint("A name for this dataset — you'll reference it by this name when you start a training run. Start with a letter or underscore, then letters, digits, underscores. e.g. churn_train")
ans, err := pr.Input("What should we call this dataset?",
"MySQL identifier + PVC subdir; letters, digits, underscore only", "",
"MySQL identifier + PVC subdir; start with a letter or underscore, then letters, digits, underscore", "",
push.ValidateTableName)
if err != nil {
return err
Expand Down
Loading