lsh-framework 0.10.1 → 0.10.2
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/cli.js +1 -2
- package/dist/services/secrets/secrets.js +0 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -76,8 +76,7 @@ program
|
|
|
76
76
|
console.log(' push Upload .env to encrypted cloud storage');
|
|
77
77
|
console.log(' pull Download .env from cloud storage');
|
|
78
78
|
console.log(' list List secrets in current local .env file');
|
|
79
|
-
console.log(' env
|
|
80
|
-
console.log(' show View secrets (masked)');
|
|
79
|
+
console.log(' env [name] List/view cloud environments');
|
|
81
80
|
console.log(' key Generate encryption key');
|
|
82
81
|
console.log(' create Create new .env file');
|
|
83
82
|
console.log(' get <key> Get a specific secret value (--all for all)');
|
|
@@ -150,22 +150,6 @@ export async function init_secrets(program) {
|
|
|
150
150
|
process.exit(1);
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
|
-
// Show secrets (masked)
|
|
154
|
-
program
|
|
155
|
-
.command('show')
|
|
156
|
-
.description('Show secrets for an environment (masked)')
|
|
157
|
-
.option('-e, --env <name>', 'Environment name', 'dev')
|
|
158
|
-
.action(async (options) => {
|
|
159
|
-
try {
|
|
160
|
-
const manager = new SecretsManager();
|
|
161
|
-
await manager.show(options.env);
|
|
162
|
-
}
|
|
163
|
-
catch (error) {
|
|
164
|
-
const err = error;
|
|
165
|
-
console.error('❌ Failed to show secrets:', err.message);
|
|
166
|
-
process.exit(1);
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
153
|
// Generate encryption key
|
|
170
154
|
program
|
|
171
155
|
.command('key')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lsh-framework",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Encrypted secrets manager with automatic rotation, team sync, and multi-environment support. Built on a powerful shell with daemon scheduling and CI/CD integration.",
|
|
5
5
|
"main": "dist/app.js",
|
|
6
6
|
"bin": {
|