{"_id":"@smart-dev-agency/smart-grow-secure-cli","_rev":"45-2a079f6f30c0efec233fed5a4084e2b1","name":"@smart-dev-agency/smart-grow-secure-cli","dist-tags":{"latest":"8.0.1"},"versions":{"5.0.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.0.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.0.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"cfa4a343cb270214ce9688509b7e6eba30a0c8da","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.0.0.tgz","fileCount":41,"integrity":"sha512-odi5yXbsLsfOpQ9HfCRp+66lqcI8VG/VtOz4n2NlBjlyoOyyJAdelBs9w6wZnmphWOArZLyd34LcnC24Tgax3Q==","signatures":[{"sig":"MEQCIGXLfvKEtWz3/UP68MsiwP4fxdWesa7jhDohtVkyiBVGAiBcuKxu4UlNdlQotrS0auewWyYl60aHt3hSarMgbmB5hg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2225793},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"2fdcbc3bb97131e61301f62f633d27180e677aad","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^10.2.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.3","semver":"^7.7.3","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","@hpke/core":"^1.7.4","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.0.0_1761613311916_0.8351898282453398","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.0.1","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.0.1","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"49888d589917f16ca0341a0f5c5740c7b07b55ec","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.0.1.tgz","fileCount":41,"integrity":"sha512-0RgxhHER3PiEYtr4q82ypkptXi3Ftt2Qhk9WgYLkth+YgJRFKUvOecR0FJ4Y/GGWVsOYOLVSt5hL0+jaYQ2Ukg==","signatures":[{"sig":"MEUCIQDFFweJDrwm29fTi8bKOpxZsvYj5GFj2p05nRJTDkU89AIgbdOnJ4GW8XCqycQaEORoY6xv6xTuiz/xx+x3GQQt71Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2239123},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"e78262ca7009feb0e5ff4c956d7101733d95e5f1","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^10.2.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.3","semver":"^7.7.3","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","@hpke/core":"^1.7.4","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.0.1_1761615976008_0.6179864351225877","host":"s3://npm-registry-packages-npm-production"}},"5.1.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.1.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.1.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"7c8b039f95cfe0835cfe932c821305a7bcf63720","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.1.0.tgz","fileCount":53,"integrity":"sha512-tTALu79qjK0C4INRkDYJpiUsg6pxGRpgr+bJKObY7qjbw6BjDuXH8tgNHh8VM1s7m1fJFPYJ6EMDsHruJWZxNQ==","signatures":[{"sig":"MEYCIQCjiJm6hvvEonlNbrowgguK1ZgNMYLwsVKEbjwbyBa2BgIhAMwHClHLBuUy3fXuTNEa99vxYz0ZevBmnF7NvQCACwKh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2349400},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"57cda9b955c148629d6e1a58af6d684a4e8eb0e3","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^10.2.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.3","semver":"^7.7.3","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","@hpke/core":"^1.7.4","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.1.0_1762054702524_0.04338788298561269","host":"s3://npm-registry-packages-npm-production"}},"5.1.1":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.1.1","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.1.1","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"4f211682d1110c7887fa9018a3c30aeb68bf9447","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.1.1.tgz","fileCount":53,"integrity":"sha512-CJS+/fbpX9DqMDRlS1MY2YdoTT6D0tYG/ceJzeRSrflD//mFoNvuLGH+M7hvZWWSZO2SuBsCdglDMbL+lKKs/w==","signatures":[{"sig":"MEYCIQDGPOxgwWvc2hKECPJKlFky2sK2DhJse9V0Av6TyDPfaAIhAI2YL6NYBcqTh4cZ2QN6AediVfDd7OVWr0bM1FG/+3GO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2342050},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"57cda9b955c148629d6e1a58af6d684a4e8eb0e3","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"^1.7.5","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.1.1_1766359389099_0.06757333648971309","host":"s3://npm-registry-packages-npm-production"}},"5.2.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.2.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.2.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"26127b9b2f2202963762c4dced5d8621a8cfc0c9","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.2.0.tgz","fileCount":53,"integrity":"sha512-lfq0M777AtIhqUlAboeLxWBETU8b+qDWMVFd0OkFmQXrRT8x92/RStJt6uMttFzTNrwTABkYcs+fwHNAGvHBwQ==","signatures":[{"sig":"MEYCIQDkhuNsO1HvjSVBn91g6htcJibI7ptAsEvBahbMZ594BQIhAKS2Kp24frfPVpkQNNGRX1fKgxWKLRfCoEfIfKfq23ix","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2359337},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"57cda9b955c148629d6e1a58af6d684a4e8eb0e3","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"^1.7.5","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.2.0_1766363412994_0.9306657788059625","host":"s3://npm-registry-packages-npm-production"}},"5.3.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.3.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.3.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"87ede935d2a4edc5427fee6099c1f227f5346592","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.3.0.tgz","fileCount":57,"integrity":"sha512-8cfPVwgyzvM6xp+z6tz1DE8EoL74v8JsEZPEss7w5ZPHab4nfVAveDxvd+52uUJ/MneJxsnFGowwpBxpYv59sg==","signatures":[{"sig":"MEUCIAgrzMz1RTHBp5zg4MDENzNi8lH9DWzrMjqWJ5csaJnsAiEAkXXL+6ldJufFB9HWDVIyBS3U3cGsxTL3cmzYZ19zxXY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2356537},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"1cab49382098ff86da5c56049918092f26d40cd8","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"^1.7.5","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.3.0_1772604092660_0.07352905164007217","host":"s3://npm-registry-packages-npm-production"}},"5.5.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"5.5.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@5.5.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"c948a2c7a652d9f39190348886cfb6ff1db9b90e","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-5.5.0.tgz","fileCount":61,"integrity":"sha512-JcmW0A9p1PtALRz0YLkcp+AGM4pvAVxShJ+mQ1o4GYdMjGyUy9h2U1iS+KWARdrW89Yf+SKRQfH5AYWJqt8SKw==","signatures":[{"sig":"MEYCIQCLaBi+03wcRNwqYQ1iheJ42Jz4Fv+qZIJuOxKTkSD69QIhAPns+aauhlQaVgfzc6pbH6Vw/bBb4E+tJC31nXyClO0B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2408288},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"f8ca8aac7402837a5c0ad1c344196b4e14f3e2f0","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"^1.7.5","@hpke/ml-kem":"^0.2.1","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_5.5.0_1772762361025_0.4308994982258183","host":"s3://npm-registry-packages-npm-production"}},"6.0.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"6.0.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@6.0.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"cee0672603753265500739b604cda6de894798f9","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-6.0.0.tgz","fileCount":61,"integrity":"sha512-uLGRI22oNdXbPb6Axf2vKGLudEhIDkK1rhZ7/K+Pu8abyU5Y3WklgF4xpDfUohb+cNo67wtbYVWcGJgmaaTgJw==","signatures":[{"sig":"MEYCIQCBZyruePIkfMtq4kh2x1tAmr5/rfmupD57ISL6HSoExAIhAOZGSInOdEMPXaV/LBzUN46wGBxfY22rCDO/xuxWsOXc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2408287},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"da5a46a3b1dcbf4418069dcf9ad0e1e4e43bd3a7","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"10.8.2","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"1.9.0","@hpke/ml-kem":"0.3.0","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_6.0.0_1773032699538_0.22661391221298532","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"6.1.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@6.1.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"d2628fbde2a738cfc1d68e6cc6f4e95677d5b4ec","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-6.1.0.tgz","fileCount":61,"integrity":"sha512-9Jzn2Q1pjDnXb9qJU8q+Wl706cnzeX+tf/zExBt4Yt8Wd3/3Ew+/gYLje971SLkgNOeUMQNczerIf+FC+BGEHw==","signatures":[{"sig":"MEUCIH/lXRNXvNlHGdWkunGiNLwOE99EjDEYqdjIghdMmISmAiEAodcQ0u9UT+FkIaXdayos62Srdyn+/zU4W/aEgMimlr4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2415278},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"7222f40e0ee0bad94399f7f9b0a60a3bb5bc3f64","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"11.14.1","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"1.9.0","@hpke/ml-kem":"0.3.0","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_6.1.0_1779422675662_0.23755834577604307","host":"s3://npm-registry-packages-npm-production"}},"6.2.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"6.2.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@6.2.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"eba0cb048677280f6aff82051d5bab6438c542b9","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-6.2.0.tgz","fileCount":71,"integrity":"sha512-4P9R+5AMp2CSYJyPKnHKVGdwvXLiXavn7oIxBzkor1rDRgFak7YOmhFVYIQqQcq0Jv+sqN6ZzdZHz4NSwxB2QA==","signatures":[{"sig":"MEYCIQCd8DakdFlF+KtdUuV0Y+nftPnk7t1wSFf2/aVWpvj+xAIhAJhaih7sdTe6FbsURT0kGwP+OjBlocHtGUoIjZVBN0e3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2566548},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"088db16aebd885258b9fdaf8f3b58f9237a22c91","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"11.14.1","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"1.9.0","@hpke/ml-kem":"0.3.0","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_6.2.0_1781105033416_0.7012758575853439","host":"s3://npm-registry-packages-npm-production"}},"6.2.1":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"6.2.1","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@6.2.1","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"7262543fd80f42fdc8a0518e9f6a69ac70c268b0","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-6.2.1.tgz","fileCount":71,"integrity":"sha512-dErBnYQT7aB0DHFerXvhCGPjzzwOhOI1iIFwAkbYZpj+kPos/4g0+t39YhS5paWNMRonfa80dWOvKLM4iwCtFg==","signatures":[{"sig":"MEYCIQDLD4kviUStk+D9/DsJsouS1+Q1MPGspvPz5s8cncuRbQIhAIf2NA+thARH8fqF0F+K7Qddph9zpVtfbTw/n0VNeu3P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2542878},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"37bd6ed02aea8775fb06897efcd8999decc2ff8d","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"11.14.1","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"1.9.0","@hpke/ml-kem":"0.3.0","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_6.2.1_1781215371712_0.804385413267581","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@smart-dev-agency/smart-grow-secure-cli","version":"7.0.0","author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","_id":"@smart-dev-agency/smart-grow-secure-cli@7.0.0","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"homepage":"https://smart-grow.app/","bin":{"smart-grow":"app.js"},"dist":{"shasum":"77624e9438c9535eb7c002309703f425faac0f04","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-7.0.0.tgz","fileCount":73,"integrity":"sha512-qdMIoIQ6YC9U/ozdWm6Uh0uulsTRr4DDSR31dCmR7tmPFeKA0ofvNyOTKU7RQV5Nq47C3yDkufdbTB5xPcu4Ng==","signatures":[{"sig":"MEQCIG6pwO1aXAXH66/GNfANjuNHfJR7NHXj223AP3PC+6nRAiAOndm5wEftDselWQzKfpx+SACajMYBgQm0CaX1SPbx+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1000359},"main":"app.js","type":"module","types":"./app.d.ts","gitHead":"abe00397a9ad7fd8b34958827a8e3f0848b334ca","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"publisher":"smart-dev-agency","_npmVersion":"11.14.1","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","@hpke/core":"1.9.0","@hpke/ml-kem":"0.3.0","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/smart-grow-secure-cli_7.0.0_1783831532797_0.437931235517393","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"_id":"@smart-dev-agency/smart-grow-secure-cli@8.0.1","bin":{"smart-grow":"app.js"},"dist":{"shasum":"41441e1f4c6e395f15c0fac1ee340e4de0792dc9","tarball":"https://registry.npmjs.org/@smart-dev-agency/smart-grow-secure-cli/-/smart-grow-secure-cli-8.0.1.tgz","fileCount":74,"integrity":"sha512-rgfrVC5ac18qY/8DsGzxud60lPzkl7HeuQ7Q2YYYBvrIeZx0/wLxhL1XS7dS4E6GaTOmbeGdAEg+TrC46iXJVw==","signatures":[{"sig":"MEUCIQDuloxkuUTeNqjC+ABx86ZQiDKEUWicib4yyxybc35mDAIgOMcVVHPm4BMSzCHNHFBNj25AxppuXFr7mQLrC2bGVYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDvfnJol6jHTM2G0g9OZOHwi4AkEJQprwQWjAbiXGk9fAiAubZNER8KD/gP2o0sYC8lNVHUjlYBBUz7yt0awvaFJqg=="}],"unpackedSize":1121464},"main":"app.js","name":"@smart-dev-agency/smart-grow-secure-cli","type":"module","types":"./app.d.ts","author":{"name":"Smart Dev Agency"},"gitHead":"ab3ad656df9898658f7e84bc17c82a35aa2e8851","license":"UNLICENSED","version":"8.0.1","_npmUser":{"name":"reyesmfabian","email":"freyes1750@gmail.com"},"homepage":"https://smart-grow.app/","publisher":"smart-dev-agency","_npmVersion":"11.14.1","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","directories":{},"maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"_nodeVersion":"20.19.0","dependencies":{"conf":"^15.0.2","open":"^11.0.0","chalk":"^5.6.2","clear":"^0.1.0","figlet":"^1.9.4","semver":"^7.7.3","express":"^5.2.1","fs-extra":"^11.3.3","inquirer":"^13.1.0","commander":"^14.0.2","latest-version":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/smart-grow-secure-cli_8.0.1_1788327482052_0.5556483780247448"}}},"time":{"created":"2025-05-07T02:12:19.242Z","modified":"2026-09-02T05:38:02.328Z","1.0.0":"2025-05-07T01:30:44.066Z","1.0.1":"2025-05-07T01:42:08.521Z","1.0.2":"2025-05-07T01:49:31.342Z","1.0.3":"2025-05-07T01:57:12.210Z","2.0.0":"2025-05-07T02:12:19.622Z","2.0.1":"2025-05-07T02:22:59.215Z","2.1.0":"2025-09-15T03:51:31.452Z","2.2.0":"2025-09-29T02:04:45.629Z","2.3.0":"2025-09-29T13:51:45.710Z","3.0.0":"2025-09-29T14:54:53.274Z","3.0.1":"2025-09-30T03:02:14.874Z","3.0.2":"2025-09-30T03:21:09.516Z","4.0.0":"2025-10-14T22:31:08.527Z","4.0.1":"2025-10-14T22:47:19.879Z","4.0.2":"2025-10-18T17:08:07.244Z","5.0.0":"2025-10-28T01:01:52.216Z","5.0.1":"2025-10-28T01:46:16.270Z","5.1.0":"2025-11-02T03:38:22.789Z","5.1.1":"2025-12-21T23:23:09.307Z","5.2.0":"2025-12-22T00:30:13.182Z","5.3.0":"2026-03-04T06:01:32.874Z","5.4.0":"2026-03-06T01:55:09.077Z","5.5.0":"2026-03-06T01:59:21.289Z","6.0.0":"2026-03-09T05:04:59.776Z","6.1.0":"2026-05-22T04:04:35.872Z","6.2.0":"2026-06-10T15:23:53.630Z","6.2.1":"2026-06-11T22:02:51.881Z","7.0.0":"2026-07-12T04:45:32.955Z","8.0.0":"2026-09-02T05:29:12.219Z","8.0.1":"2026-09-02T05:38:02.163Z"},"author":{"name":"Smart Dev Agency"},"license":"UNLICENSED","homepage":"https://smart-grow.app/","description":"CLI for managing and configuring variables and services for the Smart Grow App project.","maintainers":[{"name":"reyesmfabian","email":"freyes1750@gmail.com"}],"readme":"# @smart-dev-agency/smart-grow-secure-cli\n\nCLI for managing and configuring variables and services for the Smart Grow App project.\n\n## Requirements\n\n- Node.js 18.2.0 or newer.\n\n## Smart Grow Services\n\nSmart Grow offers two service modes to fit your needs:\n\n### ☁️ Smart Grow Vault\n\nSecure Vault API for environment variables and credential files. The API URL can point to the managed Vault service or a licensed self-hosted Vault instance.\n\n- **Website:** [https://vault.smart-grow.app](https://vault.smart-grow.app)\n- **Features:**\n  - 🔐 OAuth Device Flow authentication\n  - 🚀 Zero infrastructure management\n  - 🔒 Post-quantum encryption\n  - 📊 Usage analytics and monitoring\n  - 👥 Team collaboration\n  - 🌍 Global availability\n\nSet `SMARTGROW_VAULT_API_URL` or pass `--api-url` when targeting a non-default Vault API URL.\n\n### 🏢 Smart Grow OnPremise\n\nSelf-hosted Smart Grow server — a separate service from Smart Grow Vault, with its own API and encryption contract.\n\n- **Website:** [https://smart-grow.app](https://smart-grow.app)\n- **Features:**\n  - 🏠 Full control over your data\n  - 🔧 Custom configurations\n  - 🌐 Deploy on your own servers\n  - 🔐 Your security policies\n  - 📦 Air-gapped environments support\n  - 🔑 API Token authentication for automation\n  - 💾 Session-based authentication\n\nIdeal for organizations with strict compliance requirements or those who prefer complete control over their infrastructure.\n\n---\n\n## Installation\n\n### Global Installation\n\nInstall the package globally from npm:\n\n```sh\nnpm install -g @smart-dev-agency/smart-grow-secure-cli\n```\n\nThen use it anywhere:\n\n```sh\nsmart-grow\n```\n\n### Using with npx (No Installation Required)\n\nYou can run the CLI directly without installing it globally using `npx`:\n\n```sh\nnpx @smart-dev-agency/smart-grow-secure-cli\n```\n\n**Benefits of using npx:**\n\n- ✅ Always uses the latest version\n- ✅ No need to install globally\n- ✅ Perfect for CI/CD pipelines\n- ✅ No pollution of global node_modules\n\n**Examples with npx:**\n\n```sh\n# Interactive mode\nnpx @smart-dev-agency/smart-grow-secure-cli\n\n# Smart Grow Vault login\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_login\n\n# Smart Grow Vault download variables\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_download\n\n# Smart Grow Vault download a secure file\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_download_file\n\n# Smart Grow Vault sync variables for CI/CD\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync \\\n  --api-url $SMARTGROW_VAULT_API_URL \\\n  --api-key $SMARTGROW_API_KEY \\\n  --org $SMARTGROW_ORG_ID \\\n  --app $SMARTGROW_APP_ID \\\n  --env $SMARTGROW_ENV_ID\n\n# Smart Grow Vault sync secure file for CI/CD\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync_file \\\n  --api-url $SMARTGROW_VAULT_API_URL \\\n  --api-key $SMARTGROW_API_KEY \\\n  --org $SMARTGROW_ORG_ID \\\n  --app $SMARTGROW_APP_ID \\\n  --env $SMARTGROW_ENV_ID \\\n  --file $SMARTGROW_FILE_ID\n```\n\n## Usage\n\n### Interactive Mode (Recommended)\n\nSimply run the CLI without any command to access the interactive menu:\n\n```sh\nsmart-grow\n# or with npx\nnpx @smart-dev-agency/smart-grow-secure-cli\n```\n\nThis will show you a menu to choose between:\n\n- **☁️ Smart Grow Vault** - Vault API (managed cloud or licensed self-hosted instance)\n- **🏢 Smart Grow OnPremise** - Self-hosted Smart Grow server\n\nAfter selecting your service, you'll see the available commands for that service.\n\n### Direct Command Mode\n\nYou can also run commands directly:\n\n```sh\nsmart-grow <command>\n# or with npx\nnpx @smart-dev-agency/smart-grow-secure-cli <command>\n```\n\n### Available Commands\n\n**OnPremise Commands:**\n\n- `login` - Authenticate and create a CLI session (supports OAuth and Email/Password)\n- `logout` - Sign out and remove saved session\n- `status` - Show current session status\n- `download_variables` - Download environment variables using saved session\n- `download_variables_with_token` - Download variables using API Token (for CI/CD automation)\n- `download_files` - Download encrypted secure files interactively\n- `download_files_with_token` - Download encrypted secure files using API Token (for CI/CD automation)\n- `update_config_cli` - Configures the CLI (name, server URL, and preferred scope)\n- `get_config_cli` - Shows the current CLI configuration\n\n**Smart Grow Vault Commands:**\n\n- `cloud_login` - Authenticate with your Smart Grow Vault account\n- `cloud_download` - Download environment variables interactively (with filename selection)\n- `cloud_download_file` - Download an encrypted secure file interactively\n- `cloud_sync` - Sync variables using API Key (designed for CI/CD automation)\n- `cloud_sync_file` - Sync secure file using API Key (designed for CI/CD automation)\n- `cloud_status` - Show current Smart Grow Vault session status and active server\n- `cloud_logout` - Sign out from your Smart Grow Vault account\n- `vault_update_config` - Configure the Smart Grow Vault API URL\n- `vault_get_config` - Show the Smart Grow Vault configuration\n\n### OnPremise Authentication Workflow\n\nSmart Grow OnPremise uses a two-step authentication process for better security and user experience:\n\n#### 1. Login (One-time Setup)\n\nAuthenticate once and save your session credentials:\n\n```sh\nsmart-grow login\n# or\nnpx @smart-dev-agency/smart-grow-secure-cli login\n```\n\n**Supported authentication methods:**\n\n- 🔐 **OAuth Providers**: Apple, Azure, GitHub, GitLab, Google\n- 📧 **Email/Password**: Traditional credentials\n- 🔒 **Two-Factor Authentication (2FA)**: Additional security layer when enabled\n\nYour session is stored securely and remains valid for 30 days.\n\n#### 2. Download Variables (Multiple Uses)\n\nOnce authenticated, download variables as many times as needed without re-authenticating:\n\n```sh\nsmart-grow download_variables\n# or\nnpx @smart-dev-agency/smart-grow-secure-cli download_variables\n```\n\n**Interactive steps:**\n\n1. Select your application\n2. Choose the environment\n3. Variables are downloaded and merged with existing `.env` file\n\nAll data is transmitted securely using hybrid encryption.\n\n### OnPremise Download Files (Interactive)\n\nThe `download_files` command provides an interactive experience for downloading encrypted secure files:\n\n1. **Authentication**: Uses your saved session from `login`\n2. **Application Selection**: Choose the application\n3. **Environment Selection**: Select the environment\n4. **File Selection**: Pick which file(s) to download\n5. **Decryption**: Files are automatically decrypted and saved locally\n\n```sh\nsmart-grow download_files\n# or\nnpx @smart-dev-agency/smart-grow-secure-cli download_files\n```\n\n---\n\n### OnPremise Download Variables with API Token (CI/CD)\n\nThe `download_variables_with_token` command is designed for automated environments where interactive login isn't possible.\n\n**Key Features:**\n\n- 🔑 Uses API Token authentication (no session required)\n- ⚙️ Multiple configuration methods for flexibility\n- 🤖 Perfect for automated deployments and CI/CD pipelines\n- 🔒 Secure transmission\n\n#### Configuration Methods\n\nThe command supports three ways to provide configuration, with the following priority order:\n\n**CLI arguments > Environment variables > Config file**\n\n#### 1. Environment Variables (⭐ RECOMMENDED for CI/CD)\n\n**This is the safest and most secure method for CI/CD pipelines.** Store your secrets in your CI/CD platform's secret management system.\n\n```sh\n# Set variables (these should come from your CI/CD secrets)\nexport SMARTGROW_ONPREMISE_API_TOKEN=your_api_token\nexport SMARTGROW_ONPREMISE_APP_ID=your_app_id\nexport SMARTGROW_ONPREMISE_ENV_ID=your_env_id\nexport SMARTGROW_ONPREMISE_FORMAT=dotenv          # Optional: env or dotenv (default: dotenv)\nexport SMARTGROW_ONPREMISE_OUTPUT=smart-grow.env  # Optional: output file path\n\n# Run the command - it will automatically pick up the environment variables\nnpx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token\n```\n\n**Benefits:**\n\n- ✅ No secrets in code or command history\n- ✅ Native integration with CI/CD secret management\n- ✅ Easy to rotate credentials\n- ✅ Prevents accidental secret exposure\n\n#### 2. CLI Arguments\n\nUse this method for testing or scripts:\n\n```sh\nnpx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token \\\n  --api-token YOUR_API_TOKEN \\\n  --app-id YOUR_APP_ID \\\n  --env-id YOUR_ENV_ID \\\n  --format dotenv \\\n  --output smart-grow.env\n```\n\n⚠️ **Warning:** CLI arguments may appear in shell history. Use environment variables in production.\n\n#### 3. Config File (Lowest Priority)\n\nCreate a `smartgrow.onpremise.config.env` file:\n\n```env\n# Smart Grow OnPremise CLI Configuration\n\n# API Token for authentication (required)\nSMARTGROW_ONPREMISE_API_TOKEN=your_api_token_here\n\n# Application ID (required)\nSMARTGROW_ONPREMISE_APP_ID=your_app_id_here\n\n# Environment ID (required)\nSMARTGROW_ONPREMISE_ENV_ID=your_env_id_here\n\n# Output format: env or dotenv (optional, default: dotenv)\nSMARTGROW_ONPREMISE_FORMAT=dotenv\n\n# Output file path (optional, default: smart-grow.env)\nSMARTGROW_ONPREMISE_OUTPUT=smart-grow.env\n```\n\nThen run:\n\n```sh\nnpx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token \\\n  --config smartgrow.onpremise.config.env\n```\n\n**⚠️ Important:** Add `smartgrow.onpremise.config.env` to your `.gitignore`!\n\n---\n\n### OnPremise Download Files with API Token (CI/CD)\n\nThe `download_files_with_token` command downloads encrypted secure files in automated environments without interactive login.\n\n**Key Features:**\n\n- 🔑 Uses API Token authentication (no session required)\n- 📂 Downloads a specific file or all files for an environment\n- ⚙️ Multiple configuration methods for flexibility\n- 🤖 Designed for automated deployments and CI/CD pipelines\n- 🔒 Files are decrypted automatically\n\n#### Configuration Methods\n\nThe command supports three ways to provide configuration, with the following priority order:\n\n**CLI arguments > Environment variables > Config file**\n\n#### 1. Environment Variables (⭐ RECOMMENDED for CI/CD)\n\n```sh\nexport SMARTGROW_ONPREMISE_API_TOKEN=your_api_token\nexport SMARTGROW_ONPREMISE_APP_ID=your_app_id\nexport SMARTGROW_ONPREMISE_ENV_ID=your_env_id\nexport SMARTGROW_ONPREMISE_FILE_ID=your_file_id    # Optional: downloads all files if omitted\nexport SMARTGROW_ONPREMISE_FILE_OUTPUT=./secrets   # Optional: output directory (default: current dir)\n\nnpx @smart-dev-agency/smart-grow-secure-cli download_files_with_token\n```\n\n#### 2. CLI Arguments\n\n```sh\nnpx @smart-dev-agency/smart-grow-secure-cli download_files_with_token \\\n  --api-token YOUR_API_TOKEN \\\n  --app-id YOUR_APP_ID \\\n  --env-id YOUR_ENV_ID \\\n  --file-id YOUR_FILE_ID \\\n  --output ./secrets\n```\n\n#### 3. Config File (Lowest Priority)\n\nCreate a `smartgrow.onpremise.config.env` file:\n\n```env\nSMARTGROW_ONPREMISE_API_TOKEN=your_api_token_here\nSMARTGROW_ONPREMISE_APP_ID=your_app_id_here\nSMARTGROW_ONPREMISE_ENV_ID=your_env_id_here\nSMARTGROW_ONPREMISE_FILE_ID=your_file_id_here      # Optional\nSMARTGROW_ONPREMISE_FILE_OUTPUT=./secrets          # Optional\n```\n\nThen run:\n\n```sh\nnpx @smart-dev-agency/smart-grow-secure-cli download_files_with_token \\\n  --config smartgrow.onpremise.config.env\n```\n\n**⚠️ Important:** Add `smartgrow.onpremise.config.env` to your `.gitignore`!\n\n#### CI/CD Examples for OnPremise (Files)\n\n**GitHub Actions:**\n\n```yaml\n- name: Download secure files from Smart Grow OnPremise\n  env:\n    SMARTGROW_ONPREMISE_API_TOKEN: ${{ secrets.SMARTGROW_API_TOKEN }}\n    SMARTGROW_ONPREMISE_APP_ID: ${{ secrets.SMARTGROW_APP_ID }}\n    SMARTGROW_ONPREMISE_ENV_ID: ${{ secrets.SMARTGROW_ENV_ID }}\n    SMARTGROW_ONPREMISE_FILE_OUTPUT: ./config\n  run: npx @smart-dev-agency/smart-grow-secure-cli download_files_with_token\n```\n\n---\n\n#### CI/CD Examples for OnPremise (Variables)\n\n**GitHub Actions:**\n\n```yaml\nname: Deploy with Smart Grow OnPremise\n\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download environment variables\n        env:\n          SMARTGROW_ONPREMISE_API_TOKEN: ${{ secrets.SMARTGROW_API_TOKEN }}\n          SMARTGROW_ONPREMISE_APP_ID: ${{ secrets.SMARTGROW_APP_ID }}\n          SMARTGROW_ONPREMISE_ENV_ID: ${{ secrets.SMARTGROW_ENV_ID }}\n        run: |\n          npx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token\n\n      - name: Deploy\n        run: |\n          # Your deployment commands here\n          npm run deploy\n```\n\n**GitLab CI:**\n\n```yaml\ndeploy:\n  stage: deploy\n  script:\n    - npx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token\n    - npm run deploy\n  variables:\n    SMARTGROW_ONPREMISE_API_TOKEN: $SMARTGROW_API_TOKEN\n    SMARTGROW_ONPREMISE_APP_ID: $SMARTGROW_APP_ID\n    SMARTGROW_ONPREMISE_ENV_ID: $SMARTGROW_ENV_ID\n```\n\n**Jenkins:**\n\n```groovy\npipeline {\n  agent any\n  environment {\n    SMARTGROW_ONPREMISE_API_TOKEN = credentials('smartgrow-api-token')\n    SMARTGROW_ONPREMISE_APP_ID = credentials('smartgrow-app-id')\n    SMARTGROW_ONPREMISE_ENV_ID = credentials('smartgrow-env-id')\n  }\n  stages {\n    stage('Download Variables') {\n      steps {\n        sh 'npx @smart-dev-agency/smart-grow-secure-cli download_variables_with_token'\n      }\n    }\n    stage('Deploy') {\n      steps {\n        sh 'npm run deploy'\n      }\n    }\n  }\n}\n```\n\n### Cloud Download (Interactive)\n\nThe `cloud_download` and `cloud_download_file` commands provide an interactive experience:\n\n1. **Authentication**: Uses your saved credentials from `cloud_login`\n2. **Organization Selection**: Choose from your available organizations\n3. **Application Selection**: Pick the application to download resources from\n4. **Environment Selection**: Select the environment (development, staging, production, etc.)\n5. **Filename Selection**: Choose the output filename\n\n**Example:**\n\n```sh\n# For environment variables\nsmart-grow cloud_download\n\n# For secure files\nsmart-grow cloud_download_file\n```\n\nAll data is transmitted securely using post-quantum encryption.\n\n### Cloud Sync for CI/CD\n\nThe `cloud_sync` command is specifically designed for automated environments like CI/CD pipelines, GitHub Actions, GitLab CI, Jenkins, etc.\n\n**Key Features:**\n\n- 🔑 Uses API Key authentication (no interactive login required)\n- ⚙️ Multiple configuration methods for flexibility\n- 📦 Supports multiple output formats (JSON, ENV, dotenv)\n- 🔒 Secure transmission with encryption\n- 🎯 Perfect for automated deployments\n\n#### Configuration Methods\n\nThe command supports three ways to provide configuration, with the following priority order:\n\n**Environment variables (RECOMMENDED for CI/CD) > CLI arguments > Config file**\n\n#### 1. Environment Variables (⭐ RECOMMENDED for CI/CD)\n\n**This is the safest and most secure method for CI/CD pipelines.** Store your secrets in your CI/CD platform's secret management system and expose them as environment variables.\n\n```sh\n# Set variables (these should come from your CI/CD secrets)\nexport SMARTGROW_API_KEY=your_api_key\nexport SMARTGROW_ORG_ID=your_org_id\nexport SMARTGROW_APP_ID=your_app_id\nexport SMARTGROW_ENV_ID=your_env_id\nexport SMARTGROW_FORMAT=dotenv              # Optional: json, env, or dotenv (default: dotenv)\nexport SMARTGROW_OUTPUT=smart-grow.env      # Optional: output file path\n\n# Run the command - it will automatically pick up the environment variables\nsmart-grow cloud_sync\n\n# With npx (recommended for CI/CD to always use latest version)\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n```\n\n**Benefits of using environment variables:**\n\n- ✅ No secrets in code or command history\n- ✅ Native integration with CI/CD secret management\n- ✅ Easy to rotate credentials without changing pipelines\n- ✅ Works seamlessly across different CI/CD platforms\n- ✅ Prevents accidental secret exposure in logs\n\n#### 2. CLI Arguments\n\nUse this method for testing or when environment variables aren't available:\n\n```sh\nsmart-grow cloud_sync \\\n  --api-key YOUR_API_KEY \\\n  --org YOUR_ORG_ID \\\n  --app YOUR_APP_ID \\\n  --env YOUR_ENV_ID \\\n  --format dotenv \\\n  --output smart-grow.env\n\n# With npx\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync \\\n  --api-key YOUR_API_KEY \\\n  --org YOUR_ORG_ID \\\n  --app YOUR_APP_ID \\\n  --env YOUR_ENV_ID\n```\n\n⚠️ **Warning:** CLI arguments may appear in shell history and process lists. Use environment variables in production.\n\n#### 3. Config File (Lowest Priority)\n\nCreate a `smartgrow.config.env` file (you can copy from `smartgrow.config.env.example`):\n\n```env\n# Smart Grow CLI Configuration Example\n# Copy this file and fill in your values\n\n# API Key for authentication (required)\nSMARTGROW_API_KEY=your_api_key_here\n\n# Organization ID (required)\nSMARTGROW_ORG_ID=your_org_id_here\n\n# Application ID (required)\nSMARTGROW_APP_ID=your_app_id_here\n\n# Environment ID (required)\nSMARTGROW_ENV_ID=your_env_id_here\n\n# Output format: json, env, or dotenv (optional, default: dotenv)\nSMARTGROW_FORMAT=dotenv\n\n# Output file path (optional, default: smart-grow.env)\nSMARTGROW_OUTPUT=smart-grow.env\n```\n\nThen run:\n\n```sh\nsmart-grow cloud_sync --config smartgrow.config.env\n# or\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync --config smartgrow.config.env\n```\n\n**⚠️ Important:** Add `smartgrow.config.env` to your `.gitignore` to avoid committing secrets!\n\n#### Output Options\n\n**Supported format scopes:**\n\n**For `cloud_sync` (Variables):**\n\n- `json` - JSON object with key-value pairs\n- `env` - Plain `KEY=value` format\n- `dotenv` - .env format with proper escaping and comments (default)\n\n**Default output files:**\n\n- Variables (`cloud_sync`): `smart-grow.env`\n- Secure files (`cloud_sync_file`): Uses the original uploaded filename\n\nYou can customize the outputs heavily with options like `--output <filename>` or via environment overrides based on the command needed.\n\n#### CI/CD Examples\n\nAll examples below use **environment variables** (the recommended approach) to securely pass credentials from your CI/CD platform's secret management system.\n\n**GitHub Actions (Recommended):**\n\n```yaml\nname: Deploy with Smart Grow\n\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download environment variables from Smart Grow\n        env:\n          # These secrets should be configured in GitHub Settings > Secrets\n          SMARTGROW_API_KEY: ${{ secrets.SMARTGROW_API_KEY }}\n          SMARTGROW_ORG_ID: ${{ secrets.SMARTGROW_ORG_ID }}\n          SMARTGROW_APP_ID: ${{ secrets.SMARTGROW_APP_ID }}\n          SMARTGROW_ENV_ID: ${{ secrets.SMARTGROW_ENV_ID }}\n          SMARTGROW_FORMAT: dotenv\n          SMARTGROW_OUTPUT: .env\n        run: |\n          # Uses npx to always get the latest version\n          npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n\n      - name: Load variables into environment\n        run: |\n          # Source the downloaded .env file\n          export $(cat .env | xargs)\n          # Your deployment commands here\n          npm run build\n          npm run deploy\n```\n\n**GitLab CI (Recommended):**\n\n```yaml\nvariables:\n  # Configure these in GitLab Settings > CI/CD > Variables\n  # Mark them as \"Masked\" and \"Protected\" for security\n  SMARTGROW_FORMAT: \"dotenv\"\n  SMARTGROW_OUTPUT: \".env\"\n\ndownload_and_deploy:\n  stage: deploy\n  script:\n    # Variables SMARTGROW_API_KEY, SMARTGROW_ORG_ID, SMARTGROW_APP_ID,\n    # and SMARTGROW_ENV_ID should be configured as CI/CD variables\n    - npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n    - export $(cat .env | xargs)\n    - npm run build\n    - npm run deploy\n  only:\n    - main\n```\n\n**Jenkins (Recommended):**\n\n```groovy\npipeline {\n    agent any\n\n    environment {\n        // These should be configured in Jenkins Credentials\n        SMARTGROW_API_KEY = credentials('smartgrow-api-key')\n        SMARTGROW_ORG_ID = credentials('smartgrow-org-id')\n        SMARTGROW_APP_ID = credentials('smartgrow-app-id')\n        SMARTGROW_ENV_ID = credentials('smartgrow-env-id')\n        SMARTGROW_FORMAT = 'dotenv'\n        SMARTGROW_OUTPUT = '.env'\n    }\n\n    stages {\n        stage('Download Variables') {\n            steps {\n                sh 'npx @smart-dev-agency/smart-grow-secure-cli cloud_sync'\n            }\n        }\n\n        stage('Build and Deploy') {\n            steps {\n                sh '''\n                    export $(cat .env | xargs)\n                    npm run build\n                    npm run deploy\n                '''\n            }\n        }\n    }\n}\n```\n\n**CircleCI:**\n\n```yaml\nversion: 2.1\n\njobs:\n  deploy:\n    docker:\n      - image: cimg/node:18.0\n    steps:\n      - checkout\n\n      - run:\n          name: Download Smart Grow Variables\n          command: |\n            # Configure these in CircleCI Project Settings > Environment Variables\n            npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n\n      - run:\n          name: Deploy\n          command: |\n            export $(cat .env | xargs)\n            npm run build\n            npm run deploy\n\nworkflows:\n  version: 2\n  deploy:\n    jobs:\n      - deploy:\n          filters:\n            branches:\n              only: main\n```\n\n**Azure Pipelines:**\n\n```yaml\ntrigger:\n  - main\n\npool:\n  vmImage: \"ubuntu-latest\"\n\nvariables:\n  # Configure these in Azure Pipelines Library as secret variables\n  - group: SmartGrowSecrets\n  - name: SMARTGROW_FORMAT\n    value: \"dotenv\"\n  - name: SMARTGROW_OUTPUT\n    value: \".env\"\n\nsteps:\n  - script: |\n      npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n    displayName: \"Download Smart Grow Variables\"\n    env:\n      SMARTGROW_API_KEY: $(SMARTGROW_API_KEY)\n      SMARTGROW_ORG_ID: $(SMARTGROW_ORG_ID)\n      SMARTGROW_APP_ID: $(SMARTGROW_APP_ID)\n      SMARTGROW_ENV_ID: $(SMARTGROW_ENV_ID)\n\n  - script: |\n      export $(cat .env | xargs)\n      npm run build\n      npm run deploy\n    displayName: \"Build and Deploy\"\n```\n\n**Bitbucket Pipelines:**\n\n```yaml\npipelines:\n  branches:\n    main:\n      - step:\n          name: Deploy with Smart Grow\n          script:\n            # Configure these in Bitbucket Repository Settings > Pipelines > Repository variables\n            # Mark as \"Secured\" for sensitive values\n            - export SMARTGROW_FORMAT=dotenv\n            - export SMARTGROW_OUTPUT=.env\n            - npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n            - export $(cat .env | xargs)\n            - npm run build\n            - npm run deploy\n```\n\n**🔒 Security Best Practices for CI/CD:**\n\n1. **Always use your CI/CD platform's secret management:**\n   - GitHub: Settings > Secrets and variables > Actions\n   - GitLab: Settings > CI/CD > Variables (mark as Protected & Masked)\n   - Jenkins: Manage Jenkins > Credentials\n   - CircleCI: Project Settings > Environment Variables\n   - Azure: Library > Variable groups (mark as secret)\n   - Bitbucket: Repository settings > Pipelines > Repository variables (Secured)\n\n2. **Never hardcode credentials** in your pipeline files\n\n3. **Use `npx`** to always get the latest security patches:\n\n   ```bash\n   npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n   ```\n\n4. **Rotate API keys regularly** through the Smart Grow Vault dashboard\n\n5. **Use different API keys** for different environments (dev, staging, production)\n\n---\n\n### Usage Examples\n\n```sh\n# Interactive mode (recommended for first-time users)\nsmart-grow\n\n# Smart Grow Vault: Login\nsmart-grow cloud_login\n\n# Smart Grow Vault: Download variables interactively\nsmart-grow cloud_download\n\n# Smart Grow Vault: Download a secure file interactively\nsmart-grow cloud_download_file\n\n# Smart Grow Vault: Sync variables for CI/CD\nsmart-grow cloud_sync --api-key xxx --org xxx --app xxx --env xxx\n\n# Smart Grow Vault: Sync secure file for CI/CD\nsmart-grow cloud_sync_file --api-key xxx --org xxx --app xxx --env xxx --file xxx\n\n# Smart Grow Vault: Show session status and active server\nsmart-grow cloud_status\n\n# Smart Grow Vault: Logout\nsmart-grow cloud_logout\n\n# Smart Grow Vault: Configure API URL\nsmart-grow vault_update_config\n\n# Smart Grow Vault: Show current API URL configuration\nsmart-grow vault_get_config\n\n# OnPremise: Login\nsmart-grow login\n\n# OnPremise: Show session status\nsmart-grow status\n\n# OnPremise: Download variables\nsmart-grow download_variables\n\n# OnPremise: Download secure files interactively\nsmart-grow download_files\n\n# OnPremise: Download variables for CI/CD\nsmart-grow download_variables_with_token --api-token xxx --app-id xxx --env-id xxx\n\n# OnPremise: Download secure files for CI/CD\nsmart-grow download_files_with_token --api-token xxx --app-id xxx --env-id xxx\n\n# OnPremise: Configure CLI\nsmart-grow update_config_cli\n\n# OnPremise: Show current configuration\nsmart-grow get_config_cli\n\n# OnPremise: Logout\nsmart-grow logout\n```\n\n**All commands work with npx:**\n\n```sh\n# Just replace \"smart-grow\" with \"npx @smart-dev-agency/smart-grow-secure-cli\"\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_download\n```\n\n### Configuration Scopes\n\nThe OnPremise and Smart Grow Vault CLIs use separate repository-scoped configuration files so that every project can keep its own settings while still falling back to global defaults.\n\n#### Smart Grow Vault\n\nSmart Grow Vault stores only the Vault API URL. This is intentionally separate from the Smart Grow OnPremise configuration because they are two different services with different APIs and encryption contracts.\n\n**Configuration Resolution Order:**\n\n1. `--api-url` command option\n2. Command config file values, for example `SMARTGROW_VAULT_API_URL` in `smartgrow.config.env`\n3. `SMARTGROW_VAULT_API_URL` or `SMARTGROW_API_URL` environment variables\n4. `.smart-grow-vault-cli.json` in the current working directory\n5. Global Vault configuration stored by the CLI\n6. Built-in default managed Vault API\n\nUse these commands:\n\n```sh\nsmart-grow vault_update_config\nsmart-grow vault_get_config\nsmart-grow cloud_status\n```\n\n`cloud_status` prints the active Vault server and the source being used.\n\n**Example `.smart-grow-vault-cli.json`:**\n\n```json\n{\n  \"api_url\": \"https://vault-api.my-server.com\"\n}\n```\n\n#### OnPremise\n\n**Configuration Resolution Order:**\n\n1. `.smart-grow-cli.json` in the current working directory (project-level)\n2. Global configuration stored by the CLI (user-level)\n3. Built-in defaults\n\n**Configuration Options:**\n\nWhen you run `smart-grow update_config_cli`, you can choose where to save your settings:\n\n- **Repository only** – Creates/updates `.smart-grow-cli.json` in the current folder\n  - ✅ Commit this file to share settings with your team\n  - ✅ Each project can have different configurations\n\n- **Global only** – Stores values in user-level configuration\n  - ✅ Use across all projects\n  - ✅ No project-specific files needed\n\n- **Both** – Keeps both the repository and global configuration in sync\n  - ✅ Flexibility to override globally when needed\n\n**Example `.smart-grow-cli.json`:**\n\n```json\n{\n  \"cli_name\": \"my-project\",\n  \"api_url\": \"https://api.my-server.com\",\n  \"file_name\": \".env\"\n}\n```\n\n**Note:** Smart Grow Vault commands resolve the API URL from command options, CI/config-file values, environment variables, persistent Vault CLI config, or the default managed Vault API.\n\n- Interactive selection (`cloud_download`)\n- Direct parameters/env vars/config file (`cloud_sync`)\n\n---\n\n## Security & Best Practices\n\n### 🔐 Credentials Management\n\n**DO:**\n\n- ✅ **Use environment variables in CI/CD** (RECOMMENDED) - Pass credentials through your CI/CD platform's secret management\n- ✅ Store API keys as encrypted secrets in your CI/CD platform:\n  - GitHub: Settings > Secrets and variables > Actions\n  - GitLab: Settings > CI/CD > Variables (Protected & Masked)\n  - Jenkins: Credentials Store\n  - CircleCI: Project Settings > Environment Variables\n  - Azure Pipelines: Variable Groups (Secret)\n- ✅ Add `smartgrow.config.env` and `.env` files to your `.gitignore`\n- ✅ Use `npx @smart-dev-agency/smart-grow-secure-cli` in CI/CD to always get the latest security patches\n- ✅ Rotate API keys regularly through the Smart Grow Vault dashboard\n- ✅ Use different API keys for different environments (dev, staging, production)\n- ✅ Review and minimize the scope of API key permissions\n\n**DON'T:**\n\n- ❌ Use CLI arguments to pass secrets in CI/CD (they appear in logs and process lists)\n- ❌ Commit API keys, tokens, or `smartgrow.config.env` to your repository\n- ❌ Share credentials via plain text (email, Slack, chat, etc.)\n- ❌ Use production credentials in development environments\n- ❌ Hard-code secrets in your application code or pipeline files\n- ❌ Store secrets in version control, even in private repositories\n\n### 🎯 CI/CD Configuration Priority\n\nWhen using `cloud_sync` in CI/CD, prefer this secure configuration order:\n\n1. **Environment Variables** ⭐ (RECOMMENDED - Most secure)\n2. CLI Arguments (Use only for testing)\n3. Config File (Not recommended for CI/CD)\n\n**Example of secure CI/CD setup:**\n\n```yaml\n# GitHub Actions\n- name: Sync Smart Grow Variables\n  env:\n    SMARTGROW_API_KEY: ${{ secrets.SMARTGROW_API_KEY }}\n    SMARTGROW_ORG_ID: ${{ secrets.SMARTGROW_ORG_ID }}\n    SMARTGROW_APP_ID: ${{ secrets.SMARTGROW_APP_ID }}\n    SMARTGROW_ENV_ID: ${{ secrets.SMARTGROW_ENV_ID }}\n  run: npx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n```\n\n### 🔒 Security notes you may need when using the CLI\n\nYour data travels over encrypted connections and your saved session is protected on your machine — on a normal desktop there's nothing to configure. Two situations need action:\n\n**Running in CI / Docker / a server without a system keychain.** There interactive login can't store a session unless you provide a storage key:\n\n```bash\n# Generate once and keep it in your CI secret store (do not commit it):\nopenssl rand -base64 32\n\n# Provide it to the CLI:\nexport SMART_GROW_STORAGE_KEY=\"<base64-encoded 32-byte key>\"\n```\n\n> Token-based CI/CD commands (`cloud_sync`, `download_variables_with_token`, `download_files_with_token`) don't need this — they authenticate per run and don't store a session.\n\n**Connecting to a self-hosted server for the first time.** The CLI shows the server's security fingerprint and asks you to confirm it once (compare it with the value your administrator gives you). After that it remembers the server. For CI, skip the prompt by pinning it explicitly:\n\n```bash\nexport SMARTGROW_SERVER_KEY=\"<value your server prints at startup>\"\n```\n\n> If you ever see an \"identity has changed\" error, **stop** and check with your administrator before continuing — it can mean someone is intercepting the connection.\n\n> For details on how Smart Grow protects your data (encryption, key handling, etc.), see the Smart Grow Vault security documentation, not this guide — this README only covers using the CLI.\n\n### 📝 Recommended .gitignore\n\nAdd these entries to your `.gitignore`:\n\n```gitignore\n# Smart Grow CLI - Downloaded variables\nsmart-grow.env\n.env\n.env.*\n\n# Smart Grow CLI - Configuration with secrets (for cloud_sync)\nsmartgrow.config.env\n\n# Smart Grow CLI - OnPremise configuration (commit if non-sensitive)\n# .smart-grow-cli.json\n\n# Smart Grow Vault CLI - URL configuration (commit only if the URL is intended to be shared)\n# .smart-grow-vault-cli.json\n```\n\n**Notes:**\n\n- ✅ **Always ignore** `smartgrow.config.env` (contains API keys)\n- ✅ **Always ignore** `smart-grow.env` and `.env*` (downloaded variables)\n- ⚠️ **Optional:** You may commit `.smart-grow-cli.json` for OnPremise if it only contains non-sensitive configuration like server URLs\n- ⚠️ **Optional:** You may commit `.smart-grow-vault-cli.json` if the Vault API URL is meant to be shared by the repository\n- 📋 The file `smartgrow.config.env.example` can be committed as a template (without real values)\n\n---\n\n## Troubleshooting\n\n### Command not found: smart-grow\n\nIf you installed globally and the command is not found:\n\n```sh\n# Check if it's installed\nnpm list -g @smart-dev-agency/smart-grow-secure-cli\n\n# Reinstall\nnpm install -g @smart-dev-agency/smart-grow-secure-cli\n\n# Or use npx (no installation needed)\nnpx @smart-dev-agency/smart-grow-secure-cli\n```\n\n### Authentication errors in CI/CD\n\nMake sure your environment variables are properly set:\n\n```sh\n# Test locally first\nexport SMARTGROW_API_KEY=\"your_key\"\nexport SMARTGROW_ORG_ID=\"org_xxx\"\nexport SMARTGROW_APP_ID=\"app_xxx\"\nexport SMARTGROW_ENV_ID=\"env_xxx\"\n\nnpx @smart-dev-agency/smart-grow-secure-cli cloud_sync\n```\n\n### Permission denied errors\n\nIf you get permission errors during global installation:\n\n```sh\n# Option 1: Use npx (recommended)\nnpx @smart-dev-agency/smart-grow-secure-cli\n\n# Option 2: Fix npm permissions\n# https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally\n```\n\n---\n\n## License\n\n**PROPRIETARY AND CONFIDENTIAL**\n\nCopyright © 2025 Smart Dev Agency S.A.S. All rights reserved.\n\nThis software is provided under a proprietary license. Use of this software is permitted only as explicitly authorized. Any unauthorized copying, distribution, modification, reverse engineering, decompilation, or extraction is strictly prohibited.\n\nSee the [LICENSE](LICENSE) file for complete terms and conditions.\n\nFor licensing inquiries or commercial use, contact: support@smart-dev.com.co\n\n---\n\n## Support\n\nFor issues, questions, or feature requests:\n\n**Smart Grow Vault:**\n\n- 🌐 Website: [https://vault.smart-grow.app](https://vault.smart-grow.app)\n- 📧 Email: support@smart-grow.app\n- 📚 Documentation: [https://vault.smart-grow.app/docs](https://vault.smart-grow.app/docs)\n\n**Smart Grow OnPremise:**\n\n- 🌐 Website: [https://smart-grow.app](https://smart-grow.app)\n- 📧 Email: support@smart-grow.app\n- 📚 Documentation: [https://docs.smart-grow.app](https://docs.smart-grow.app)\n\n---","readmeFilename":"README.md"}