MCPcopy
hub / github.com/dotenvx/dotenvx / dynamicAttempts

Function dynamicAttempts

src/lib/helpers/executeDynamic.js:44–60  ·  view source on GitHub ↗
(command, forwardedArgs)

Source from the content-addressed store, hash-verified

42}
43
44function dynamicAttempts (command, forwardedArgs) {
45 if (command === 'vlt') {
46 return [
47 ['dotenvx-armor', forwardedArgs],
48 ['dotenvx-ops', forwardedArgs]
49 ]
50 }
51
52 if (command === 'ops') {
53 return [
54 ['dotenvx-armor', forwardedArgs],
55 ['dotenvx-ops', forwardedArgs]
56 ]
57 }
58
59 return [[`dotenvx-${command}`, forwardedArgs]]
60}
61
62function executeDynamic (program, command, rawArgs) {
63 if (!command) {

Callers 1

executeDynamicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…