fly-secrets-diff 0.1.2 → 0.1.3
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/index.mjs +7 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -288,7 +288,7 @@ export async function printDiff(args) {
|
|
|
288
288
|
|
|
289
289
|
if (missingArr.length > 0) {
|
|
290
290
|
log.info(
|
|
291
|
-
`\n
|
|
291
|
+
`\n Add missing secrets to machines:\n
|
|
292
292
|
fly secrets set --app=${args.app} \\
|
|
293
293
|
${missing}`
|
|
294
294
|
)
|
|
@@ -296,11 +296,16 @@ export async function printDiff(args) {
|
|
|
296
296
|
|
|
297
297
|
if (unusedArr.length > 0) {
|
|
298
298
|
log.info(
|
|
299
|
-
`\n
|
|
299
|
+
`\n Remove unused secrets from machines:\n
|
|
300
300
|
fly secrets unset --app=${args.app} \\
|
|
301
301
|
${unusedStr}`
|
|
302
302
|
)
|
|
303
|
+
|
|
304
|
+
if (!args.reveal) {
|
|
305
|
+
console.log('\nTip: run with --reveal to show the secrets')
|
|
306
|
+
}
|
|
303
307
|
}
|
|
308
|
+
log.info()
|
|
304
309
|
}
|
|
305
310
|
|
|
306
311
|
/**
|