@backtest-kit/cli 6.1.4 → 6.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.cjs CHANGED
@@ -2216,6 +2216,12 @@ const cli = {
2216
2216
  init();
2217
2217
 
2218
2218
  const MODES = ["backtest", "paper", "live", "pine", "dump", "init", "help", "version"];
2219
+ const ENTRY_PATH$1 = "./node_modules/@backtest-kit/cli/build/index.mjs";
2220
+ const HELP_TEXT$1 = `
2221
+ Example:
2222
+
2223
+ node ${ENTRY_PATH$1} --help
2224
+ `.trimStart();
2219
2225
  const main$a = async () => {
2220
2226
  if (!getEntry((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)))) {
2221
2227
  return;
@@ -2225,7 +2231,10 @@ const main$a = async () => {
2225
2231
  return;
2226
2232
  }
2227
2233
  process.stdout.write(`@backtest-kit/cli ${"6.1.1"}\n`);
2234
+ process.stdout.write("\n");
2228
2235
  process.stdout.write(`Run with --help to see available commands.\n`);
2236
+ process.stdout.write("\n");
2237
+ process.stdout.write(HELP_TEXT$1);
2229
2238
  process.exit(0);
2230
2239
  };
2231
2240
  main$a();
package/build/index.mjs CHANGED
@@ -2187,6 +2187,12 @@ const cli = {
2187
2187
  init();
2188
2188
 
2189
2189
  const MODES = ["backtest", "paper", "live", "pine", "dump", "init", "help", "version"];
2190
+ const ENTRY_PATH$1 = "./node_modules/@backtest-kit/cli/build/index.mjs";
2191
+ const HELP_TEXT$1 = `
2192
+ Example:
2193
+
2194
+ node ${ENTRY_PATH$1} --help
2195
+ `.trimStart();
2190
2196
  const main$a = async () => {
2191
2197
  if (!getEntry(import.meta.url)) {
2192
2198
  return;
@@ -2196,7 +2202,10 @@ const main$a = async () => {
2196
2202
  return;
2197
2203
  }
2198
2204
  process.stdout.write(`@backtest-kit/cli ${"6.1.1"}\n`);
2205
+ process.stdout.write("\n");
2199
2206
  process.stdout.write(`Run with --help to see available commands.\n`);
2207
+ process.stdout.write("\n");
2208
+ process.stdout.write(HELP_TEXT$1);
2200
2209
  process.exit(0);
2201
2210
  };
2202
2211
  main$a();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/cli",
3
- "version": "6.1.4",
3
+ "version": "6.1.5",
4
4
  "description": "Zero-boilerplate CLI runner for backtest-kit strategies. Run backtests, paper trading, and live bots with candle cache warming, web dashboard, and Telegram notifications — no setup code required.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -12,7 +12,7 @@
12
12
  "license": "ISC",
13
13
  "type": "commonjs",
14
14
  "dependencies": {
15
- "@backtest-kit/cli": "^6.1.4",
15
+ "@backtest-kit/cli": "^6.1.5",
16
16
  "@backtest-kit/graph": "^6.1.1",
17
17
  "@backtest-kit/pinets": "^6.1.1",
18
18
  "@backtest-kit/ui": "^6.1.1",