Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
polterguy committed Dec 30, 2023
1 parent f4e5c49 commit 7359fe7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backend/files/misc/workflows/actions/misc/config-get.hl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

/*
* Returns the specified [key] configuration setting.
*
* Notice, to traverse into for instance magic.foo.bar, you'll have to colon separate
* your path as follows "magic:foo:bar".
*/
.arguments
key
type:string
mandatory:bool:true
.icon:account_balance

// Retrieves config entry.
config.get:x:@.arguments/*/key

// Returns result of above invocation to caller.
yield
value:x:@config.get

0 comments on commit 7359fe7

Please sign in to comment.