@quonfig/cli 0.0.39 → 0.0.41

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.
@@ -1767,6 +1767,119 @@
1767
1767
  "push.js"
1768
1768
  ]
1769
1769
  },
1770
+ "run": {
1771
+ "aliases": [],
1772
+ "args": {
1773
+ "command": {
1774
+ "description": "child command (after '--')",
1775
+ "name": "command",
1776
+ "required": false
1777
+ }
1778
+ },
1779
+ "description": "Run a child process with Quonfig configs injected as env vars.\n\nResolves --env VAR=key.path mappings (and --env-file lines) against your\nworkspace, merges them into the parent env, and exec's the child command.\nExits with the child's exit code. Missing keys → fail before spawning.\n\nAuth / environment is BINARY:\n Mode A — QUONFIG_BACKEND_SDK_KEY set: env is encoded in the key.\n Setting --environment OR QUONFIG_ENVIRONMENT alongside is an error.\n Mode B — no SDK key: pass exactly one of --environment or QUONFIG_ENVIRONMENT.\n\nThe flag separator '--' is REQUIRED between qfg flags and the child command.",
1780
+ "examples": [
1781
+ "<%= config.bin %> <%= command.id %> --env DATABASE_URL=db.url --environment=staging -- env",
1782
+ "<%= config.bin %> <%= command.id %> --env-file=.qfg.env --environment=staging -- npm run migrate",
1783
+ "<%= config.bin %> <%= command.id %> --env DATABASE_URL=db.url -- ./bin/migrate.js # Mode A: relies on QUONFIG_BACKEND_SDK_KEY",
1784
+ "<%= config.bin %> <%= command.id %> --env DATABASE_URL=db.url --preserve-env --environment=staging -- npm test"
1785
+ ],
1786
+ "flags": {
1787
+ "json": {
1788
+ "description": "Format output as json.",
1789
+ "helpGroup": "GLOBAL",
1790
+ "name": "json",
1791
+ "allowNo": false,
1792
+ "type": "boolean"
1793
+ },
1794
+ "interactive": {
1795
+ "description": "Force interactive mode",
1796
+ "helpGroup": "GLOBAL",
1797
+ "name": "interactive",
1798
+ "allowNo": true,
1799
+ "type": "boolean"
1800
+ },
1801
+ "no-color": {
1802
+ "description": "Do not colorize output",
1803
+ "env": "NO_COLOR",
1804
+ "helpGroup": "GLOBAL",
1805
+ "name": "no-color",
1806
+ "allowNo": false,
1807
+ "type": "boolean"
1808
+ },
1809
+ "verbose": {
1810
+ "description": "Verbose output",
1811
+ "helpGroup": "GLOBAL",
1812
+ "name": "verbose",
1813
+ "allowNo": false,
1814
+ "type": "boolean"
1815
+ },
1816
+ "workspace": {
1817
+ "char": "w",
1818
+ "description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
1819
+ "helpGroup": "GLOBAL",
1820
+ "name": "workspace",
1821
+ "required": false,
1822
+ "hasDynamicHelp": false,
1823
+ "multiple": false,
1824
+ "type": "option"
1825
+ },
1826
+ "profile": {
1827
+ "char": "p",
1828
+ "description": "Deprecated: use --workspace instead",
1829
+ "helpGroup": "GLOBAL",
1830
+ "hidden": true,
1831
+ "name": "profile",
1832
+ "required": false,
1833
+ "hasDynamicHelp": false,
1834
+ "multiple": false,
1835
+ "type": "option"
1836
+ },
1837
+ "env": {
1838
+ "description": "Inline env mapping in VAR=key.path form. Repeatable.",
1839
+ "name": "env",
1840
+ "default": [],
1841
+ "hasDynamicHelp": false,
1842
+ "multiple": true,
1843
+ "type": "option"
1844
+ },
1845
+ "env-file": {
1846
+ "description": "Path to a file with one VAR=key.path per line (# comments and blank lines OK).",
1847
+ "name": "env-file",
1848
+ "required": false,
1849
+ "hasDynamicHelp": false,
1850
+ "multiple": false,
1851
+ "type": "option"
1852
+ },
1853
+ "environment": {
1854
+ "description": "Quonfig environment to evaluate in (Mode B). Mutually exclusive with QUONFIG_ENVIRONMENT.",
1855
+ "name": "environment",
1856
+ "required": false,
1857
+ "hasDynamicHelp": false,
1858
+ "multiple": false,
1859
+ "type": "option"
1860
+ },
1861
+ "preserve-env": {
1862
+ "description": "Skip vars that are already set in the parent env. Default: override.",
1863
+ "name": "preserve-env",
1864
+ "allowNo": false,
1865
+ "type": "boolean"
1866
+ }
1867
+ },
1868
+ "hasDynamicHelp": false,
1869
+ "hiddenAliases": [],
1870
+ "id": "run",
1871
+ "pluginAlias": "@quonfig/cli",
1872
+ "pluginName": "@quonfig/cli",
1873
+ "pluginType": "core",
1874
+ "strict": false,
1875
+ "enableJsonFlag": true,
1876
+ "isESM": true,
1877
+ "relativePath": [
1878
+ "dist",
1879
+ "commands",
1880
+ "run.js"
1881
+ ]
1882
+ },
1770
1883
  "schema": {
1771
1884
  "aliases": [],
1772
1885
  "args": {
@@ -3489,5 +3602,5 @@
3489
3602
  ]
3490
3603
  }
3491
3604
  },
3492
- "version": "0.0.39"
3605
+ "version": "0.0.41"
3493
3606
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "packageManager": "yarn@4.11.0+sha512.4e54aeace9141df2f0177c266b05ec50dc044638157dae128c471ba65994ac802122d7ab35bcd9e81641228b7dcf24867d28e750e0bcae8a05277d600008ad54",
3
3
  "name": "@quonfig/cli",
4
- "version": "0.0.39",
4
+ "version": "0.0.41",
5
5
  "bugs": {
6
6
  "url": "https://github.com/quonfig/cli/issues"
7
7
  },