MCPcopy Create free account
hub / github.com/auth0/auth0-cli / sortedKeys

Function sortedKeys

internal/cli/quickstarts.go:1645–1652  ·  view source on GitHub ↗
(m map[string]string)

Source from the content-addressed store, hash-verified

1643}
1644
1645func sortedKeys(m map[string]string) []string {
1646 keys := make([]string, 0, len(m))
1647 for k := range m {
1648 keys = append(keys, k)
1649 }
1650 sort.Strings(keys)
1651 return keys
1652}
1653
1654func (c *cli) WriteQuickstartConfig(cmd *cobra.Command, resolvedEnv map[string]string, strategy *auth0.FileOutputStrategy) error {
1655 if strategy == nil {

Callers 3

TestSortedKeysFunction · 0.85
TestSortedKeys_EmptyMapFunction · 0.85
WriteQuickstartConfigMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestSortedKeysFunction · 0.68
TestSortedKeys_EmptyMapFunction · 0.68