diff --git a/docs/content/config/commands/_index.md b/docs/content/config/commands/_index.md index c33fe27..e0a0d18 100644 --- a/docs/content/config/commands/_index.md +++ b/docs/content/config/commands/_index.md @@ -95,9 +95,9 @@ The following options are available: The environment variables support expansion: - using escaped values `$VAR` or `${VAR}` -- using the directive`%{env:VAR}%` +- using any external directive, and if using the env directive, the variable will be read from a `.env` file -For now, the variables have to be defined in an `.env` file in the same directory that the program is run from. + If using it with host specified, the SSH server has to be configured to accept those env variables. diff --git a/go.mod b/go.mod index e098406..2871cd8 100644 --- a/go.mod +++ b/go.mod @@ -30,6 +30,7 @@ require ( gopkg.in/yaml.v3 v3.0.1 maunium.net/go/mautrix v0.23.0 mvdan.cc/sh/v3 v3.10.0 + github.com/google/uuid v1.6.0 ) require ( @@ -51,7 +52,6 @@ require ( github.com/go-jose/go-jose/v4 v4.0.1 // indirect github.com/go-viper/mapstructure/v2 v2.2.1 // indirect github.com/goccy/go-json v0.10.5 // indirect - github.com/google/uuid v1.6.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect