Esempio n. 1
0
        protected override void ProcessRecord()
        {
            if (!FileManager.FileExists(MigrationFile))
            {
                throw new Exception($"No such file at: {MigrationFile}");
            }

            var content  = FileManager.ReadAllText(MigrationFile);
            var usedKeys = SecretManager.GetVariablesInContent(content);

            WriteObject(usedKeys);
        }