@gravity-rail/cli 0.53.0 → 0.55.0

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/dist/lib.d.ts CHANGED
@@ -288,7 +288,10 @@ interface CommandDef<T = unknown> {
288
288
  requiresAuth?: boolean;
289
289
  /** Whether this command mutates data. Requires --allow-write to execute. */
290
290
  mutates?: boolean;
291
- /** Set false for commands that read a dedicated binary/CSV file argument. */
291
+ /**
292
+ * true: read a JSON body from --data, --file or stdin even though the command
293
+ * does not mutate. false: the command reads a dedicated binary/CSV file argument.
294
+ */
292
295
  acceptsJsonInput?: boolean;
293
296
  columns?: TableColumn<T>[];
294
297
  handler: (hctx: CommandHandlerContext) => Promise<void>;