zmiany
This commit is contained in:
5
app.py
5
app.py
@ -195,9 +195,14 @@ def main():
|
||||
parser.add_argument('--show-table', action='store_true',
|
||||
help='Wyświetl tabelę z listą użytkowników do usunięcia')
|
||||
|
||||
parser.add_argument('--drupal-path',
|
||||
help="Ścieżka do katalogu Drupala (można też podać przez .env jako DRUPAL_PATH)")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if not args.drupal_path:
|
||||
args.drupal_path = os.getenv("DRUPAL_PATH")
|
||||
|
||||
if args.delete is False and args.dry_run is None:
|
||||
args.dry_run = True
|
||||
|
||||
|
Reference in New Issue
Block a user