fly-secrets-diff 0.1.2 → 0.1.4
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 +6 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -288,19 +288,23 @@ 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
|
)
|
|
295
|
+
if (!args.reveal) {
|
|
296
|
+
console.log('\nTip: run with --reveal to show the secrets')
|
|
297
|
+
}
|
|
295
298
|
}
|
|
296
299
|
|
|
297
300
|
if (unusedArr.length > 0) {
|
|
298
301
|
log.info(
|
|
299
|
-
`\n
|
|
302
|
+
`\n Remove unused secrets from machines:\n
|
|
300
303
|
fly secrets unset --app=${args.app} \\
|
|
301
304
|
${unusedStr}`
|
|
302
305
|
)
|
|
303
306
|
}
|
|
307
|
+
log.info()
|
|
304
308
|
}
|
|
305
309
|
|
|
306
310
|
/**
|