From 19bacc9e23c1b5b8ca2b5a597f0429d7791cc684 Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Tue, 2 Nov 2021 21:37:11 -0500 Subject: [PATCH] #6529 - Adjusted the arguments. Fixed documentation --- docs/customization/custom-scripts.md | 6 ++++-- netbox/extras/management/commands/runscript.py | 11 ++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/customization/custom-scripts.md b/docs/customization/custom-scripts.md index ef74ed7ee..5836f577c 100644 --- a/docs/customization/custom-scripts.md +++ b/docs/customization/custom-scripts.md @@ -264,10 +264,12 @@ http://netbox/api/extras/scripts/example.MyReport/ \ Scripts can be run on the CLI by invoking the management command: ``` -python3 manage.py runscript [--commit] [--loglevel {debug,info,warning,error,critical}] --script .