mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
eventmanager commands: allow to pass custom arguments
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -251,6 +251,17 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row action-type action-cmd">
|
||||
<label for="idCommandArgs" class="col-sm-2 col-form-label">Arguments</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="idCommandArgs" name="cmd_arguments" rows="2" placeholder=""
|
||||
aria-describedby="commandArgumentsHelpBlock">{{.Action.Options.CmdConfig.GetArgumentsAsString}}</textarea>
|
||||
<small id="commandArgumentsHelpBlock" class="form-text text-muted">
|
||||
Comma separated command arguments. Placeholders are supported.
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row action-type action-cmd">
|
||||
<label for="idCmdTimeout" class="col-sm-2 col-form-label">Timeout</label>
|
||||
<div class="col-sm-10">
|
||||
|
||||
Reference in New Issue
Block a user