@@ -52,6 +52,10 @@ nu-cli init --no-interactive # Use template
5252nu-cli init -o myconfig.yaml # Custom output path
5353```
5454
55+ ** Creates:**
56+ - ` nu-config.yaml ` - Configuration file
57+ - ` message-template.yaml ` - Default message template
58+
5559** Interactive prompts:**
5660- Nu Cloud API URL
5761- Username
@@ -82,7 +86,7 @@ nu-cli send --profile production --data '{"event": "user_login"}'
8286** Priority:** ` --data ` > ` --file ` > ` --template ` > config template > default template
8387
8488** Options:**
85- - ` -C, --config <path> ` - Config file path (default: ` . nu-cli .yaml` )
89+ - ` -C, --config <path> ` - Config file path (default: ` nu-config .yaml ` )
8690- ` -p, --profile <name> ` - Config profile to use
8791- ` -d, --data <json> ` - Message data as JSON/YAML string
8892- ` -f, --file <path> ` - Message data from file (JSON/YAML)
@@ -104,7 +108,7 @@ nu-cli produce --template custom.yaml # Use custom template
104108```
105109
106110** Options:**
107- - ` -C, --config <path> ` - Config file path (default: ` . nu-cli .yaml` )
111+ - ` -C, --config <path> ` - Config file path (default: ` nu-config .yaml ` )
108112- ` -p, --profile <name> ` - Config profile to use
109113- ` -d, --delay <seconds> ` - Delay between messages (overrides config)
110114- ` -t, --template <path> ` - Template file to use (overrides config)
@@ -213,7 +217,7 @@ nu-cli schema -o schema.avsc # Save to file
213217
214218## Configuration
215219
216- ### Basic config (` . nu-cli .yaml` )
220+ ### Basic config (` nu-config .yaml ` )
217221
218222``` yaml
219223api :
223227
224228producer :
225229 delay_seconds : 1
226- # template_path: "./custom -template.yaml" # Optional: custom message template
230+ template_path : " ./message -template.yaml" # Path to message template (created by init)
227231` ` `
228232
229233**Optional Authentication:**
@@ -295,7 +299,7 @@ price: "faker:commerce.price(10,1000)"
295299**Use it:**
296300
297301` ` ` bash
298- # In . nu-cli .yaml
302+ # In nu-config .yaml
299303producer:
300304 template_path: "./my-template.yaml"
301305
@@ -449,7 +453,7 @@ nu-cli consume --no-tunnel
449453Run ` nu-cli init ` to create a config file, or specify a custom path with ` --config ` .
450454
451455### "Invalid or placeholder password"
452- Edit your ` . nu-cli .yaml` and set a real password (not ` your_password ` ).
456+ Edit your ` nu-config .yaml ` and set a real password (not ` your_password ` ).
453457
454458### "cloudflared not found"
455459Install cloudflared or use ` --no-tunnel ` flag:
0 commit comments