hostctl 0.1.62 → 0.1.63

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/index.js CHANGED
@@ -2745,7 +2745,7 @@ var Verbosity = {
2745
2745
  };
2746
2746
 
2747
2747
  // src/version.ts
2748
- var version = "0.1.62";
2748
+ var version = "0.1.63";
2749
2749
 
2750
2750
  // src/commands/pkg/create.ts
2751
2751
  import { promises as fs5 } from "fs";
@@ -31852,6 +31852,9 @@ function shouldSkipConfig(envValue) {
31852
31852
  function collectConfigHeader(value, previous) {
31853
31853
  return previous.concat(value);
31854
31854
  }
31855
+ function collectTag(value, previous) {
31856
+ return previous.concat(value);
31857
+ }
31855
31858
  function parseHeaderEntry(entry) {
31856
31859
  const index = entry.indexOf(":");
31857
31860
  if (index === -1) {
@@ -31920,7 +31923,7 @@ var Cli = class {
31920
31923
  'additional HTTP config header (repeatable, format: "Header-Name: value")',
31921
31924
  collectConfigHeader,
31922
31925
  []
31923
- ).option("--json", "output should be json formatted").option("-p, --password", "should prompt for sudo password?", false).option("-t, --tag <tags...>", "specify a tag (repeat for multiple tags)");
31926
+ ).option("--json", "output should be json formatted").option("-p, --password", "should prompt for sudo password?", false).option("-t, --tag <tag>", "tag filter (repeatable; use + for intersection)", collectTag, []);
31924
31927
  this.program.command("exec").alias("e").argument(
31925
31928
  "<command...>",
31926
31929
  `the command string to run, with optional arguments (e.g. hostctl exec sudo sh -c 'echo "$(whoami)"')`